Submission #34757


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long a,b,temp,ans1,ans2;
cin >> a >> b;
ans1 = a/b;
ans2 = a/b;
if(a%b) ans2++;
cout << ans1 << ' ' << ans2 << endl;
return 0;
}

ステータス

項目 データ
問題 0926 - わりざんして!
ユーザー名 ei1612
投稿日時 2018-05-07 15:57:26
言語 C++11
状態 Accepted
得点 1
ソースコード長 296 Byte
最大実行時間 33 ms
最大メモリ使用量 804 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input-sample01 AC 22 ms 480 KB
1
input-sample02 AC 22 ms 436 KB
1
input-sample03 AC 22 ms 520 KB
1
input01 AC 20 ms 480 KB
1
input02 AC 31 ms 572 KB
1
input03 AC 20 ms 660 KB
1
input04 AC 23 ms 488 KB
1
input05 AC 18 ms 448 KB
1
input06 AC 23 ms 660 KB
1
input07 AC 26 ms 624 KB
1
input08 AC 22 ms 588 KB
1
input09 AC 18 ms 672 KB
1
input10 AC 21 ms 632 KB
1
input11 AC 29 ms 592 KB
1
input12 AC 22 ms 804 KB
1
input13 AC 24 ms 632 KB
1
input14 AC 23 ms 716 KB
1
input15 AC 21 ms 680 KB
1
input16 AC 23 ms 512 KB
1
input17 AC 33 ms 476 KB
1
input18 AC 22 ms 564 KB
1
input19 AC 23 ms 524 KB
1
input20 AC 22 ms 484 KB
1
input21 AC 17 ms 568 KB
1
input22 AC 29 ms 656 KB
1
input23 AC 27 ms 736 KB
1
input24 AC 17 ms 696 KB
1
input25 AC 20 ms 656 KB
1
input26 AC 16 ms 740 KB
1
input27 AC 23 ms 704 KB
1
input28 AC 24 ms 788 KB
1
input29 AC 24 ms 748 KB
1
input30 AC 23 ms 708 KB
1
input31 AC 19 ms 804 KB
1
input32 AC 31 ms 636 KB
1