摘要: public static void BubbleSort(int[] data) { int temp=0; for(int i=0;idata[j]) { temp=data[j]; data[j]=data[j-1]; data[j-1]=temp; } } } } public static void BubbleSort(int[] data) { int temp=0; bool IsChange=true; for(int i=0;idata[j]) { IsChange=true; temp=data[... 阅读全文
posted @ 2013-08-15 10:26 科睿思博 阅读(186) 评论(0) 推荐(0) 编辑