杭电2020 绝对值排序 (绝对值+冒泡排序

杭电2020 http://acm.hdu.edu.cn/showproblem.php?pid=2020     题目大意: 普通排序+绝对值,在数组下标加上abs比较即可,用冒泡排序保证输出结果。   AC代码: #include <iostream> #include <algorithm> #include <cmath> using namespace std; int n,m; int
相关文章
相关标签/搜索