máximo de 4

Dado 4 números enteros, tu tarea es encontrar el máximo de esos 4.

Entrada

Salida

1 2 3 4

4

4 3 2 2

4

-8 -2 -7 -5

-2

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue