题解 1219: 数列排序

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

筛选

数列排序 (Java代码)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[]ages){ ……

数列排序 (C语言代码)

摘要:解题思路:一口气全给排了注意事项:参考代码:#include<stdio.h>int a[9];void glc(int n){ int i,j,k; for(i=0;i<8;i++){  for(j……

数列排序 (C语言代码)

摘要:解题思路:     思路1:将比K1大的数字用一个变量保存,然后再这个数之前的数全部往后移动一位,最后把变量中的数放到数组最前面。(无需管比K1大的数字)          思路2:重新定义两个数组,……

数列排序 (C语言代码)

摘要:解题思路:用两个子数组分别保存大数和小数注意事项:打印小数数组时倒着打印参考代码:#include<stdio.h>int main(){ int N,num[9]; int i,less[9],bi……

数列排序 (C语言代码)

摘要:#include <stdio.h>int main(){     int i,j,k,N;     int a[9],b[9];     while(scanf("%d",&N)!=EOF)    ……

数列排序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int i, n, l, x, min; int num[20]; scanf("%d", &n); ……

数列排序 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j; int a[9],t; scanf("%d",&n); while(n--) { t=0……