Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
18043 2024-04-24 13:44:48 ewu_intra24u_78 Max Number C 0 ms 1524 kb Wrong Answer - 1
Test Cases
CPU Memory Verdict
1 0 ms 1524 kb Wrong Answer
2 - - Skipped
3 - - Skipped
4 - - Skipped
5 - - Skipped
6 - - Skipped
7 - - Skipped
Source Code
program.c
Download
  1. #include<stdio.h>
  2. int main(){
  3. int a, b, c, max, min;
  4. a = max;
  5. int t;
  6. scanf("%d", &t);
  7. for (int i=0; i<t; i++){
  8. scanf("%d %d &d", &a,&b,&c);
  9. if (b>a && c>a){
  10. b = max;
  11. c = max;
  12. }
  13.  
  14. else {
  15. a = max;
  16. }
  17. }
  18. printf("%d", max);
  19.  
  20.  
  21.  
  22. return 0;
  23. }
  24.