Feedback | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Question by Ibrahim Mesecan.
The biggest number
Given comma separated N integers.
Find the maximum number.
Input
In the first line N - the number of numbers in sequence
(1 <= N <= 1,000) is given.
Then, in the second line, the number sequence is provided: ( N
numbers. ).
Output
Display the biggest number.
input 1
|
Input 2
|
6
1,20,18,5,14,16
|
8
19,-5,7,4,10,17,2,-2
|
Output 1
|
Output 2
|
20
|
19
|
Для отправки решений необходимо выполнить вход.
|