Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17807 2024-04-23 22:05:09 ewu_intra24_mock_u_110 Shift the liquid C 1 ms 1552 kb Accepted
Test Cases
CPU Memory Verdict
1 0 ms 1508 kb Accepted
2 0 ms 1516 kb Accepted
3 0 ms 1540 kb Accepted
4 0 ms 1460 kb Accepted
5 0 ms 1504 kb Accepted
6 0 ms 1524 kb Accepted
7 0 ms 1548 kb Accepted
8 1 ms 1528 kb Accepted
9 0 ms 1504 kb Accepted
10 0 ms 1460 kb Accepted
11 0 ms 1448 kb Accepted
12 1 ms 1440 kb Accepted
13 0 ms 1520 kb Accepted
14 0 ms 1520 kb Accepted
15 0 ms 1548 kb Accepted
16 0 ms 1552 kb Accepted
17 0 ms 1456 kb Accepted
18 0 ms 1448 kb Accepted
19 0 ms 1504 kb Accepted
20 0 ms 1456 kb Accepted
21 0 ms 1548 kb Accepted
Source Code
program.c
Download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int n,m;
  5. scanf("%d%d",&n,&m);
  6. if(m>0)
  7. {
  8. printf("%d\n",(n+m-1)/m);
  9. }
  10. return 0;
  11. }
  12.  
  13.  
  14.