监视任务 #include<cstdio> #include<iostream> #include<algorithm> #include<cstring> #define lson le,mid,root<<1 #define rson mid+1,rig,root<<1|1 using namespace std; struct node{ int l,r,k; bool operator<(const node &b) const{ return r<b.r; } }a[10...