摘要: 冒泡排序 C语言实现 include void bubble_sort(int a[], int n) { int i, j, temp; for(j = 0;j a[i + 1]) { temp = a[i]; a[i] = a[i + 1]; a[i + 1] = temp; } } } } i 阅读全文
posted @ 2016-11-01 21:49 狼牙战士 阅读(121) 评论(0) 推荐(0) 编辑