题解 1169: 绝对值排序

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

筛选

绝对值排序

摘要:解题思路:  分为三步走:1、先将负数变为正,2、冒泡排序,3、还原负数注意事项:参考代码:#include "stdio.h"int main() { int n, a[100], b, i, j,……

绝对值排序-C语言代码

摘要:解题思路:用动态内存分配。注意事项:循环条件要用scanf("%d",&n)!=EOF。参考代码:#include<stdio.h>#include<malloc.h>#include <stdlib……

1169: 绝对值排序(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<math.h> //定义结构体指针 typedef struct or……

绝对值排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>#include<ctype.h……

绝对值排序答案

摘要:解题思路:没思路注意事项:没注意事项参考代码:#include<stdio.h>int  p(int a,int b){    int i,r,x,y;    if (a<0)    a=-a;   ……

python 容易理解

摘要:解题思路:注意事项:参考代码:ls =list(map(int,input().split()))while ls[0] != 0:    lt = ls[1:]    b=[]    for i i……

绝对值排序

摘要:解题思路:冒泡排序注意事项:EOF参考代码:#include<stdio.h>void sort(int a[],int n);int main(){    int i,j,k,m,n,a[100];……

编写题解 1169: 绝对值排序

摘要:while True:     a=list(map(int,input().split()))     if a[0] == 0:         break     a = a[1:] ……