URI Online Judge | 1013 The Greatest Solve with source code
URI Online Judge | 1013
The Greatest
Adapted by Neilor Tonin, URI Brazil
Timelimit: 1
Input
The input file contains 3 integer values.
Output
Print the greatest of these three values followed by a space and the message “eh o maior”.
SOLVE
A,B,S = input().split()
A = int(A)
B = int(B)
S =int(S)
P=max(A,B,S)
print(P,"eh o maior")
Comments
Post a Comment