摘要: 1 void swap(int &i, int &j) 2 { 3 int temp = i; 4 i = j; 5 j = temp; 6 } 7 8 int partition(int a[], int p, int r) 9 { 10 int x = a[r]; 11 int i = p - 1; 12 for (int ... 阅读全文
posted @ 2019-11-15 21:19 Ren.Yu 阅读(105) 评论(0) 推荐(0) 编辑