HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


51046 - The biggest number

Guest
• Discussion of problem (8)

Section problems

• 50860 - Number of Student Certificates
• 50832 - Rock Paper Scissors Lizard ...
• 50834 - The train which leaves the f...
• 51078 - Max trade
• 51056 - Welcome Picnic
• 51055 - The competition
• 51077 - Grades Histogram
• 51057 - Number of students
• 51046 - The biggest number
• 50535 - Image Compression
• 50450 - Last Appereance of a Number
• 50457 - The Number of Winners
• 50453 - The Cubic Difference
• 50451 - Processing Cost
• 50459 - The Biggest Digit
• 50538 - Sum of kth Diagonal
• 50465 - How many students have p...

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

Для отправки решений необходимо выполнить вход.

www.contester.ru