隨手擼一個裸的主席樹

#include <bits/stdc++.h> using namespace std; const int maxn = 1e5; int n; int root[maxn], ls[maxn], rs[maxn]; int sz = 0; int sum[maxn]; int num[maxn]; int b[maxn]; void build(int & rt, int l, int r
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息