Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17859 2024-04-24 02:42:48 ewu_intra24_mock_u_84 Max Number C 0 ms 0 kb Compilation Error
Test Cases
CPU Memory Verdict
1 0 ms 0 kb Compilation Error
2 - - Skipped
3 - - Skipped
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. for(int i = 1; i<=n;i++){
  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. }
  18. }
  19. else
  20. printf("Error");
  21. return 0;
  22. }
  23.