摘要: //冒泡 int* maopao(int a[], int n) { int temp = 0; for (int i = 0; i<n-1; i++) { for (int j = 0; j<n-1-i; j++) { if (a[j] > a[j+1]) { temp = a[j]; a[j] 阅读全文
posted @ 2016-04-25 16:14 bluefi 阅读(312) 评论(0) 推荐(1) 编辑