Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Study
Tests (
)
Solved
My problems
Profile
Олимпиадный тренинг
Задача
30754
.
Finding the Minimum Using Priority Queue
Задача
Темы:
Куча
Given a sequence of numbers. Find the smallest number in it.
Input
The number N is given first (the number of numbers in the sequence,
1<=N< ;=100000)
and then
N numbers.
Output
Print the smallest number.
Enter
Output
7
4 2 5 -1 4 6 2
-1
1000
ms
256 Mb
Правила оформления программ и список ошибок при автоматической проверке задач
Комментарий учителя