摘要: #include using namespace std; int a[10]; void quickSort(int left,int right){ int i,j,t,temp; if(left > right) return; temp = a[left]; i = left; j = right; while(i!=... 阅读全文
posted @ 2017-09-24 16:15 章鱼小年糕 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int a[10]; int temp[10]; void mergeArray(int left,int right,int mid){ int i = left; int j = mid + 1; int k = 0; while( i >n; for(int i=0;i>a[i]; ... 阅读全文
posted @ 2017-09-24 15:12 章鱼小年糕 阅读(160) 评论(0) 推荐(0) 编辑