Submission #00105


ソースコード

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
//#include<bits/stdc++.h>
#include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include <vector>
#include <queue>
#include <map>
#include <algorithm>
#include <utility>
#include <climits>
#define REP(i, n) for(int i = 0; i < n; ++i)
#define FOR(i, a, b) for(int i = a; i < b; ++i)
#define F first
#define S second
#define OUT(x) cout << x << "\n"
using namespace std;
using point = pair< int,int >;
using ll = long long;
int main() {
int L, x;
cin >> L >> x;
printf("%.0lf\n", (double)L / x + 0.4);
return 0;
}

ステータス

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

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input-sample01 AC 16 ms 604 KB
1
input-sample02 AC 19 ms 704 KB
1
input01 AC 17 ms 548 KB
1
input02 AC 24 ms 524 KB
1
input03 AC 23 ms 500 KB
1
input04 AC 19 ms 468 KB
1
input05 AC 18 ms 444 KB
1
input06 AC 24 ms 540 KB
1
input07 AC 26 ms 512 KB
1
input08 AC 21 ms 612 KB
1
input09 AC 18 ms 584 KB
1
input10 AC 22 ms 552 KB
1
input11 AC 19 ms 400 KB
1
input12 AC 23 ms 372 KB
1
input13 AC 21 ms 468 KB
1
input14 AC 15 ms 564 KB
1
input15 AC 20 ms 540 KB
1