题解 1169: 绝对值排序

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

【绝对值排序】 (C语言代码)

摘要:解题思路:数值大小按平方来算,用 ‘选择排序 ’‘  来排序 注意事项:参考代码:#include<stdio.h>void sort(int a[],int n){ //进行排序 并打印出来 int……

Mark11:sort()函数

摘要:#include<cstdio> #include<cmath> #include<algorithm> using namespace std; bool cmp(int a, in……

【绝对值排序】 (C语言代码)

摘要:解题思路:用b数组保存数组a的绝对值,               找出最大值后,进行交换.             注意事项:参考代码:#include <stdio.h> #include <m……