Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
16856 2024-04-19 12:32:46 sheikh_hossainn Shift the liquid C 0 ms 1508 kb Accepted
Test Cases
CPU Memory Verdict
1 0 ms 1452 kb Accepted
2 0 ms 1384 kb Accepted
3 0 ms 1460 kb Accepted
4 0 ms 1468 kb Accepted
5 0 ms 1464 kb Accepted
6 0 ms 1464 kb Accepted
7 0 ms 1408 kb Accepted
8 0 ms 1508 kb Accepted
9 0 ms 1392 kb Accepted
10 0 ms 1408 kb Accepted
11 0 ms 1504 kb Accepted
12 0 ms 1492 kb Accepted
13 0 ms 1388 kb Accepted
14 0 ms 1492 kb Accepted
15 0 ms 1388 kb Accepted
16 0 ms 1488 kb Accepted
17 0 ms 1496 kb Accepted
18 0 ms 1480 kb Accepted
19 0 ms 1388 kb Accepted
20 0 ms 1504 kb Accepted
21 0 ms 1464 kb Accepted
Source Code
program.c
Download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int n, m;
  6. scanf("%d%d", &n, &m);
  7.  
  8. if(m > 0){
  9. printf("%d\n", (n+m-1)/m);
  10. }
  11. return 0;
  12. }
  13.