Type: Default 1000ms 256MiB

桶排序

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

读入$n (n \le 10^6)$个数,每个数范围1到10000

从小到大输出每个数

输入格式

两行

第一行一个整数$n$

第二行$n$个待排序的整数,空格隔开

输出格式

一行若干$n$个排序后的整数,空格隔开

样例

5
1 3 1 2 3
1 1 2 3 3

初一年级数组3

Not Claimed
Status
Done
Problem
12
Open Since
2022-12-5 0:00
Deadline
2022-12-13 23:59
Extension
24 hour(s)