正文
增加 1 行删除 1 行
45 行未改动46474849505152535479 行未改动45 行未改动using namespace std;const int N=1e5+50;int n,a[N],rt[N],idx;vector<int> g[N];//g:值为 i 的位置vector<PII> h[N];//h:mex 为 i 的极小区间 [l,r]struct jgt{int l,r,pos;}tr[N*25];79 行未改动45 行未改动46474849505152535479 行未改动45 行未改动using namespace std;const int N=1e5+50;int n,a[N],rt[N],idx;vector<int> g[N];//g:值为 i 的位置vector<PII> h[N];//h:mex 为 i 的极小区间 [l,r]struct jgt{int l,r,pos;}tr[N*25];79 行未改动