Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17871 2024-04-24 03:12:05 ewu_intra24_mock_u_84 Shift the liquid C 0 ms 1544 kb Wrong Answer - 3
Test Cases
CPU Memory Verdict
1 0 ms 1452 kb Accepted
2 0 ms 1524 kb Accepted
3 0 ms 1544 kb Wrong Answer
4 - - Skipped
5 - - Skipped
6 - - Skipped
7 - - Skipped
8 - - Skipped
9 - - Skipped
10 - - Skipped
11 - - Skipped
12 - - Skipped
13 - - Skipped
14 - - Skipped
15 - - Skipped
16 - - Skipped
17 - - Skipped
18 - - Skipped
19 - - Skipped
20 - - Skipped
21 - - Skipped
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. if(1 <= n && m <= 1000000000){
  8. if(m>n || m == n) printf("%d\n", 1);
  9. else printf("%d\n", n/m);
  10.  
  11. }
  12. else printf("Error\n");
  13. return 0;
  14. }
  15.