Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17862 2024-04-24 02:47:20 ewu_intra24_mock_u_84 Max Number C 0 ms 1528 kb Wrong Answer - 3
Test Cases
CPU Memory Verdict
1 0 ms 1528 kb Accepted
2 0 ms 1512 kb Accepted
3 0 ms 1496 kb Wrong Answer
4 - - Skipped
5 - - Skipped
6 - - Skipped
7 - - Skipped
Source Code
program.c
Download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int n, x, y, z;
  6. scanf("%d",&n);
  7. if (1<=n && n<1000000000000000000){
  8. while(n!= 0){
  9. scanf("%d %d %d",&z, &y, &z);
  10. if(x>y && z<x)
  11. printf("%d",z);
  12. else if(x<y && z<y)
  13. printf("%d",y);
  14. else if(z>y && z>x)
  15. printf("%d",z);
  16. else printf("x, y, z are equal");
  17. n--;
  18. }
  19. }
  20. else
  21. printf("Error");
  22. return 0;
  23. }
  24.  
  25.