摘要:
#include<bits/stdc++.h> using namespace std; const int N =100010,Inf=0x7fffff; int root; int idx,a[N],cnt=0; struct node{ int s[2],p,v; int size; void 阅读全文
摘要:
#include<iostream> #include<algorithm> #include<cstring> using namespace std; const int N = 100010; struct Node { int s[2], p, v; int size,flag; void 阅读全文
摘要:
#include<iostream> #include<algorithm> #include<cstring> typedef unsigned long long ull; using namespace std; const int N = 1000002; long fac[]={1,1,2 阅读全文