摘要:
#include<bits/stdc++.h> using namespace std; const int N=1e+5; int a[N],tmp[N]; typedef long long ll; #注意题目条件 ll merge_sort(int q[],int l,int r){ if(l 阅读全文
摘要:
注意理解代码层次。 #include<bits/stdc++.h> using namespace std; #define N 10e5+10; //数组开太小容易栈溢出 int a[N],tmp[N]; void merge_sort(int q[],int l,int r){ if(l>r) 阅读全文