HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


50186 - Max of N integers

Section problems

• 50209 - Number of Student Certificates
• 50210 - The largest Student Group
• 50211 - Sum of the Pairs
• 50212 - Buy the cheapest
• 50213 - Average of the Best Grades
• 50282 - The biggest number
• 50283 - Grades Histogram
• 50284 - Max trade
• 50186 - Max of N integers
• 50187 - The smallest number
• 50054 - Sum of the given digits
• 50101 - Last Appereance of a Number
• 50106 - Weekly Report
• 50110 - 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.
Russian Informatics Olympiads. Difficulty Alpha

Max of N integers

Given N integers. Find out the maximum number.

Input
In the first line N - the number of numbers in sequence (1 <= N <= 100) is given. Then, in the second line, the number sequence is provided: ( N numbers less than 1000 ).
Output
Display the max number.

input 1 Input 2
9
3 5 1 7 9 0 9 -3 10
3
-5 -300 -12
Output 1 Output 2
10
-5

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

www.contester.ru