Loading...
Submission
# When Author Problem Language CPU Memory
1944 2021-07-10 08:54:57 ewu_kick_off_user_47 Max Number C 5 ms 1580 kb Accepted
Test Cases
# CPU Memory Points
1 4 ms 1516 kb 1 Accepted
2 3 ms 1580 kb 1 Accepted
3 3 ms 1528 kb 1 Accepted
4 3 ms 1532 kb 1 Accepted
5 3 ms 1516 kb 1 Accepted
6 3 ms 1468 kb 1 Accepted
7 5 ms 1516 kb 1 Accepted
Source Code
  1. #include<stdio.h>
  2. int main()
  3. {
  4. long long i, w, x ,y, z;
  5. scanf( "%lld", &w);
  6. for(i=1 ; i<=w; i++ )
  7. { scanf( "%lld %lld %lld", &x, &y, &z);
  8. if( x>y && x>z )
  9. {
  10. printf( "%lld\n", x);
  11. }
  12. else if( y>x && y>z )
  13. {
  14. printf( "%lld\n", y);
  15. }
  16. else
  17. {
  18. printf( "%lld\n", z);
  19. }
  20. }
  21. return 0;
  22. }