随笔分类 - 数据结构用-java语言描述-排序
摘要:public class SelectSort { public static void main(String[] args) { // TODO Auto-generated method stub int n,min,i,j,temp; int a[]= {25,34,2,5,35,65,72,8,5,73}; fo...
阅读全文
摘要:public class MySort{ public static void main(String[] args){ int score[] = {67, 69, 75, 87, 89, 90, 99, 100}; System.out.print("排序前结果:"); for(int a = 0; a < score.length; a++){ System.out.print(score[a]+" " ); } for (int i = 0; i < score.length...
阅读全文
浙公网安备 33010602011771号