Problem1621--桶排序

1621: 桶排序

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

Description

对于一个数列,数列中的每一个数都是在1~1000之间的(包括1和1000),将数列从小到大排序,输出排序后的数列

Input

两行
第一行:一个正整数n,表示数列中整数的个数 (1<=n<=100000)
第二行:n个正整数,用空格隔开

Output

在一行中输出经过排序后的数列

Sample Input Copy

10
 9 9 8 6 7 6 9 3 3 2

Sample Output Copy

2 3 3 6 6 7 8 9 9 9

Source/Category

 
Please give us a Star @HUSTOJ Github!

欢迎关注微信公众号onlinejudge