#define ll long long const int N = 1e5 + 2; int Q,n,m,k,q[N],e[N]; struct P { int t,r; } p[N]; bool vis[N],fir[N]; setlt;intgt;st; int main() { sc_牛客网_牛客在手,offer不愁