摘要: #include <iostream>using namespace std;void print(int a[], int n){ for(int j= 0; j<n; j++){ cout<<a[j] <<" "; } cout<<endl; }int partition(int a[], int low, int high){ int privotval = a[low]; while (low < high) { while (low < high & privotval < a[hig 阅读全文
posted @ 2012-10-23 22:20 SA高处不胜寒 阅读(141) 评论(0) 推荐(0) 编辑