Submission #00102


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <iostream>
#include <string>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <vector>
#include <cstring>
#include <cstdio>
#include <cstdlib>
using namespace std;
signed main(){
cin.tie(0);
ios::sync_with_stdio(false);
int l,x;
int ans;
cin>>l>>x;
ans=l/x;
if(l%x!=0){
ans++;
}
cout<<ans<<"\n";
return 0;
}

ステータス

項目 データ
問題 0005 - 紙テープ
ユーザー名 ei1841
投稿日時 2019-05-27 17:32:29
言語 C++
状態 Accepted
得点 1
ソースコード長 463 Byte
最大実行時間 29 ms
最大メモリ使用量 656 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input-sample01 AC 17 ms 604 KB
1
input-sample02 AC 21 ms 564 KB
1
input01 AC 22 ms 644 KB
1
input02 AC 20 ms 600 KB
1
input03 AC 29 ms 432 KB
1
input04 AC 20 ms 392 KB
1
input05 AC 16 ms 600 KB
1
input06 AC 24 ms 560 KB
1
input07 AC 20 ms 512 KB
1
input08 AC 25 ms 468 KB
1
input09 AC 28 ms 556 KB
1
input10 AC 25 ms 632 KB
1
input11 AC 25 ms 580 KB
1
input12 AC 23 ms 536 KB
1
input13 AC 22 ms 492 KB
1
input14 AC 17 ms 576 KB
1
input15 AC 22 ms 656 KB
1