АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

726. Сортировка

Time Limit: 1 seconds
Memory Limit:65535KB
Points:2
View Problem Statistics Submit Problem added Administrator

 
Сортировка

Во входном файле задано сначала число N (1<=N<=100),  а затем N целых
чисел, по модулю не превышающих 1000.

Выведите N чисел в порядке неубывания.

Пример входного файла
5
3 1 2 4 2

Пример выходного файла
1 2 2 3 4

View Problem Statistics Submit Author/source: olympiads.ru
Educational Courses / Problems from olympiads.ru for beginners /
725. 135 - Вытаскивание минимума 726. 727. 137 - Сортировка времени 728. 138 - Большая сортировка 729. 140 - Результаты олимпиады
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.889 sec.
© Copyright VSTU, AVT, Nosov D.A.