A. 模版题-排序

    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.

题目描述

给定一个乱序序列,每个数字都在int范围内,现在需要你把它按照降序排好。

输入格式

第一行一个正整数 nn 表示序列的长度。 第二行 nn 个正整数表示这个序列。

输出格式

一行 nn 个正整数输出排好序的序列。

样例 1 输入

5
1 3 2 9 1

样例 1 输出


9 3 2 1 1

数据范围

对于 60%60\% 的数据, n5000n\le 5000 。 对于 100%100\% 的数据, n105n\le 10^5

2.15日竞赛B班

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2025-2-15 17:30
End at
2025-2-21 17:30
Duration
144 hour(s)
Host
Partic.
9