Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
17948 | 2024-04-24 13:32:44 | ewu_intra24u_13 | Shift the liquid | C++ 17 | 1 ms | 3392 kb | Accepted |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 ms | 3288 kb | Accepted | ||||||||
2 | 1 ms | 3364 kb | Accepted | ||||||||
3 | 1 ms | 3364 kb | Accepted | ||||||||
4 | 1 ms | 3252 kb | Accepted | ||||||||
5 | 1 ms | 3316 kb | Accepted | ||||||||
6 | 1 ms | 3380 kb | Accepted | ||||||||
7 | 1 ms | 3392 kb | Accepted | ||||||||
8 | 1 ms | 3364 kb | Accepted | ||||||||
9 | 1 ms | 3384 kb | Accepted | ||||||||
10 | 1 ms | 3308 kb | Accepted | ||||||||
11 | 1 ms | 3212 kb | Accepted | ||||||||
12 | 1 ms | 3388 kb | Accepted | ||||||||
13 | 1 ms | 3312 kb | Accepted | ||||||||
14 | 1 ms | 3380 kb | Accepted | ||||||||
15 | 1 ms | 3388 kb | Accepted | ||||||||
16 | 1 ms | 3252 kb | Accepted | ||||||||
17 | 1 ms | 3272 kb | Accepted | ||||||||
18 | 1 ms | 3216 kb | Accepted | ||||||||
19 | 1 ms | 3388 kb | Accepted | ||||||||
20 | 1 ms | 3296 kb | Accepted | ||||||||
21 | 1 ms | 3312 kb | Accepted | ||||||||
Source Code
program.cpp
#include <bits/stdc++.h> using namespace std; int main() { long long a,b,c; cin >> a>> b; if (a%b==0) cout << (a/b) << endl ; else cout << (a/b)+1 << endl; }