TopCoder

Thumb img 0133
WTF!
我好廢啦晡賴補

User's AC Ratio

93.8% (15/16)

Submission's AC Ratio

48.6% (17/35)

Tags

Description

題目很簡單,請你排序$N$個值域在$1\text{~}100$的數列。

Input Format

第一行包含正整數$N$,代表數列長度。
接著有$N$個整數$x_i$,代表此數列。

Output Format

輸出排序過後的數列,從左邊遞增到右邊。

Sample Input

5
5 4 3 2 1

Sample Output

1 2 3 4 5

Hints

For $5\%$ of the testdata: $N\le 10$
For $30\%$ of the testdata: $N\le 1000$
For $100\%$ of the testdata: $N\le 1000000$

Problem Source

Set by waynetu

Subtasks

For Testdata: 0 ~ 3, Score: 5
For Testdata: 4 ~ 7, Score: 25
For Testdata: 8 ~ 11, Score: 70
No. Time Limit (ms) Memory Limit (KiB) Output Limit (KiB)
0 1000 65536 65536
1 1000 65536 65536
2 1000 65536 65536
3 1000 65536 65536
4 1000 65536 65536
5 1000 65536 65536
6 1000 65536 65536
7 1000 65536 65536
8 1000 16384 65536
9 1000 16384 65536
10 1000 16384 65536
11 1000 16384 65536