星辰编程乐园
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
1791: 计数排序
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Submit
Submit Record
Statistics
Web Board
ShowOff!
Description
输入n个数,存入数组a中,每一个数都是介于0到k之间的整数,此处k为某个整数(n<=100000,k<=1000),按从小到大的顺序输出a数组中的数据。
Sample Input
Copy
10 5 4 5 2 1 3 2 5 4 5
Sample Output
Copy
1 2 2 3 4 4 5 5 5 5
Source/Category
【一维数组】
【CCF入门】