写点常用板子,随时可以用。 题目是k-th number poj2104 #include<cstdio> #include<cstring> #include<algorithm> #include<vector> using namespace std; const int maxn=100010; const int N=maxn*40; int n,m,q,tot=0; int T[maxn],A[maxn],B[maxn]; struct node{ int sum,lson,rson; }tree[N]; int geti...