HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


50238 - The smallest number

Guest
• Discussion of problem (1)

Section problems

• 50867 - Average of the Best Grades
• 50460 - Median of 3 Numbers
• 50566 - Grade Point Average (GPA)
• 50573 - Count and Sum
• 50575 - Number of Prime numbers
• 50576 - Number of Perfect numbers
• 50588 - Processing the list of numbers
• 50547 - Close Pair
• 50238 - The smallest number
• 50437 - Age Labeling
• 50457 - The Number of Winners
• 50478 - Letter Grades
• 50782 - Max of N integers
• 50552 - Casual shoes
• 50562 - List of students
• 50570 - Prime numbers in the seg...
• 50586 - Prime Palindromes

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. Difficulty Alpha

Given a sequence of numbers. Find the smallest number in the series.

Input
First, the number N - the number of numbers in the sequence, is given and then N numbers (1 <= N <= 100).
Output
Bring out the smallest number.

Input Output
7
4 2 5 -1 4 6 2
-1

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

www.contester.ru