归并排序

最后更新于:2022-04-01 20:30:47

~~~ void merge(int *a,int p,int q,int r){ int n1 = q-p+1; int n2 = r-q; int *m = new int[n1]; int *n = new int[n2]; for(int i=0;i ';