摘要:传送门 镜像点思路 具体见这篇博客 i的信息存在i'里在2操作时就不会有影响 #include<bits/stdc++.h> #define N 200003 using namespace std; int read() { int x=0,f=1;char s=getchar(); while(
阅读全文
摘要:模板题 可持久化就用主席树实现,学习自这篇博客 #include<bits/stdc++.h> #define N 4000005 using namespace std; int read() { int x=0,f=1;char s=getchar(); while(s<'0'||s>'9'){
阅读全文