Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17798 2024-04-23 21:13:54 ewu_intra24_mock_u_110 Max Number C 3100 ms 656 kb Output Limit Exceeded - 1
Test Cases
CPU Memory Verdict
1 3100 ms 656 kb Output Limit Exceeded
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. {
  4. int a,b,c,n;
  5. scanf("%d%d%d",&a,&b,&c,&n);
  6. while(n--)
  7. {
  8. int max=a;
  9. if(b>max)
  10. max=b;
  11. if(c>max)
  12. max=c;
  13. printf("%d\n",max);
  14.  
  15. }
  16.  
  17. return 0;
  18.  
  19. }
  20.  
  21.