3511: 绝对值排序

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

[md] 输入n(n<=100)个整数,按照绝对值从大到小排序后输出。 题目保证对于每一个测试实例,所有的数的绝对值都不相等。 [/md]

Sample Input Copy

3 3 -4 2
4 0 1 2 -3
0

Sample Output Copy

-4 3 2
-3 2 1 0