排序

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.

题目描述

给你 nn 个整数,现在要你从小到大排序后输出

输入格式

第一行一个整数 nn

接下来一行输入 nn 个整数

输出格式

输出一行,为从小到大排序后的 nn 个整数

样例

样例输入

5
3 1 8 6 1

样例输出

1 1 3 6 8

数据范围与提示

70%70\% 的数据,1n20001 \le n \le 2000

100%100\% 的数据,1n1000001\le n \le 10000000 \le 需要排序的数 500000\le 500000

第七届SWPU-ACM新生预选赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
103
Start at
2022-9-19 14:00
End at
2022-10-28 14:00
Duration
936 hour(s)
Host
Partic.
58