Loading...
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
Download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long a,b,c;
  6. cin >> a>> b;
  7. if (a%b==0)
  8. cout << (a/b) << endl ;
  9. else
  10.  
  11. cout << (a/b)+1 << endl;
  12. }