摘要: void QuickSort(int array[], int start, int last) { int i = start; int j = last; int temp = array[i]; if (i < j) { while (i < j) // { // while (i < j & 阅读全文
posted @ 2020-03-30 10:09 hozhangel 阅读(131) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> using namespace std; void merge(vector<int> &arr,int L,int mid,int R) { int *help = new int(R-L+1); int p1=L,p2= 阅读全文
posted @ 2020-03-30 09:54 hozhangel 阅读(138) 评论(0) 推荐(0) 编辑