摘要:
#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=1e7+10; struct node{ll ls,rs,fa,pri;}t[N]; ll n; int main(){ ios::sync_w 阅读全文
摘要:
普通平衡树 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=1e5+10; ll root,tot; struct node{ll ls,rs,val,pri,sz;}t[N]; void p 阅读全文