Submission #00029


ソースコード

1
2
3
4
5
6
7
8
9
10
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a,b;
cin>>a>>b;
long long ans=a/b;
if(a%b!=0)ans++;
cout<<a/b<<' '<<ans<<endl;
return(0);
}

ステータス

項目 データ
問題 0003 - わりざんして!
ユーザー名 r1705
投稿日時 2019-05-27 17:04:18
言語 C++11
状態 Accepted
得点 1
ソースコード長 181 Byte
最大実行時間 46 ms
最大メモリ使用量 788 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input-sample01 AC 22 ms 476 KB
1
input-sample02 AC 20 ms 576 KB
1
input-sample03 AC 25 ms 548 KB
1
input01 AC 27 ms 648 KB
1
input02 AC 18 ms 616 KB
1
input03 AC 22 ms 588 KB
1
input04 AC 22 ms 432 KB
1
input05 AC 17 ms 404 KB
1
input06 AC 20 ms 504 KB
1
input07 AC 35 ms 604 KB
1
input08 AC 25 ms 576 KB
1
input09 AC 17 ms 680 KB
1
input10 AC 46 ms 648 KB
1
input11 AC 21 ms 624 KB
1
input12 AC 20 ms 472 KB
1
input13 AC 21 ms 572 KB
1
input14 AC 17 ms 672 KB
1
input15 AC 20 ms 648 KB
1
input16 AC 20 ms 488 KB
1
input17 AC 18 ms 716 KB
1
input18 AC 21 ms 560 KB
1
input19 AC 24 ms 528 KB
1
input20 AC 21 ms 496 KB
1
input21 AC 23 ms 592 KB
1
input22 AC 18 ms 560 KB
1
input23 AC 25 ms 528 KB
1
input24 AC 19 ms 628 KB
1
input25 AC 20 ms 732 KB
1
input26 AC 20 ms 696 KB
1
input27 AC 21 ms 544 KB
1
input28 AC 21 ms 640 KB
1
input29 AC 24 ms 616 KB
1
input30 AC 19 ms 588 KB
1
input31 AC 28 ms 688 KB
1
input32 AC 19 ms 788 KB
1