摘要: 板子题:P3369 【模板】普通平衡树 题目链接:https://www.luogu.com.cn/problem/P3369 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=5e5+11,inf=1<<29; 4 int 阅读全文
posted @ 2021-08-20 22:25 上官书房 阅读(110) 评论(0) 推荐(1)
摘要: 题目链接: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 阅读全文
posted @ 2021-08-20 12:19 上官书房 阅读(23) 评论(0) 推荐(1)