HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


51046 - The biggest number

Guest
• Discussion of problem (8)

Section problems

• 50507 - Sequential Numbers
• 51057 - Number of students
• 50501 - The Highest Average
• 50434 - Row Min Subtraction
• 50980 - The smallest rectangle
• 50860 - Number of Student Certificates
• 50832 - Rock Paper Scissors Lizard ...
• 50834 - The train which leaves the f...
• 51046 - The biggest number
• 50453 - The Cubic Difference
• 50451 - Processing Cost
• 50538 - Sum of kth Diagonal
• 50535 - Image Compression
• 50470 - Close Pairs - Revised
• 50459 - The Biggest Digit
• 50784 - Top Growing Company
• 50791 - Mine field

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