TopCoder

Caido
$\mathbb{W}\mathcal{aimai}\sim$

User's AC Ratio

98.6% (137/139)

Submission's AC Ratio

64.1% (211/329)

Tags

Description

給你 n 個數字,請把他們由小到大排序並輸出。

Input Format

輸入有多組測資。
每組測資第一行為一個數字 n ,代表有多少個數字,
接下來有 n 個數字。

Output Format

請把 排序好的 n 個數字由小到大輸出。

請注意行末不要輸出空白。

Sample Input 1

6
3 6 5 4 1 2
7
10 8 6 4 2 4 6

Sample Output 1

1 2 3 4 5 6
2 4 4 6 6 8 10

Hints

Problem Source

原TIOJ1682 / kelvin

Subtasks

No. Testdata Range Score
1 0 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 262144 1