给定一个乱序序列,每个数字都在int范围内,现在需要你把它按照降序排好。
第一行一个正整数 n 表示序列的长度。 第二行 n 个正整数表示这个序列。
一行 n 个正整数输出排好序的序列。
5
1 3 2 9 1
9 3 2 1 1
对于 60% 的数据, n≤5000 。 对于 100% 的数据, n≤105 。
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.