Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17854 2024-04-24 02:20:58 ewu_intra24_mock_u_84 Max Number Python 2 9 ms 6900 kb Runtime Error - 1
Test Cases
CPU Memory Verdict
1 9 ms 6900 kb Runtime Error
2 - - Skipped
3 - - Skipped
4 - - Skipped
5 - - Skipped
6 - - Skipped
7 - - Skipped
Source Code
program.py
Download
  1. try:
  2. n = int(input())
  3. if n>=1 and n<1000000000000000000:
  4. while(n!=0):
  5. x, y, z = map(int, input().split())
  6. if x>y and x > z:
  7. print(x)
  8. elif y>x and y>z:
  9. print(y)
  10. elif z>x and z>y:
  11. print(z)
  12. else:
  13. print("All n are equal.")
  14. n = n - 1
  15. else:
  16. print("Error")
  17.  
  18. except ValueError:
  19. print("Invalid input")