题目
输入 n(n≤100)个整数,按照绝对值从大到小排序后输出。题目保证所有的数的绝对值都不相等。
Input
第一个数字为 n,接着是 n个整数。
Output
输出这 n个整数排序后的结果。
Sample Input
3
3 -4 2
Sample Output
-4 3 2
##绝对值函数 abs()
代码
#include<bits/stdc++.h>
#include<algorithm>
using namespace std;
int main()
{
int n