Problem2388--排序

2388: 排序

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

将读入的 N 个数从小到大排序后输出。

Input

第一行为一个正整数 N。
第二行包含 N 个空格隔开的正整数ai ,为你需要进行排序的数。

Output

将给定的 N 个数从小到大输出,数之间空格隔开,行末换行且无空格。

Sample Input Copy

5
4 2 4 5 1

Sample Output Copy

1 2 4 4 5

HINT

对于 20% 的数据,有 1≤103
对于 100%的数据,有1≤N≤105,1≤109,1≤ai≤109

Source/Category

admin