摘要:
cdq分治/逆序对 一点点总结 归并排序求普通逆序对问题 #include<bits/stdc++.h> #define IN inline #define R register int using namespace std; const int N=5e5+5; typedef long lon 阅读全文
摘要:
分层图的板子题 代码 #include <bits/stdc++.h> #define R(x) x=read() #define fi first #define se second using namespace std; typedef pair<int,int> PII; const int 阅读全文
摘要:
并查集板子题 #include <bits/stdc++.h> #define R(x) x = read() #define RLL(x) x = readLL() using namespace std; typedef long long LL; const int N = 1e5 + 5; 阅读全文