以下程序段将对a数组实现升序排序(N是符号常量)for(i=1;ia[j+1]){temp=a[j];a[j]=a[j+1];a[j+1]=temp;}

时间:2022-11-16 03:29:51

相似题目