随笔分类 - 数据结构-主席树
摘要:题目链接:https://www.luogu.com.cn/problem/P2633 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=200011,K=N<<5,G=31; 4 int n,m,a[N],b[N],num
阅读全文
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=200011,M=N<<5; 4 int n,m,a[N],b[N],num,tot,rt[N]; 5 int cnt[M],ch[M][2]; 6 7 inline int
阅读全文

浙公网安备 33010602011771号