bzoj1176专题

bzoj1176 [Balkan2007]Mokia

传送门 hzwerの题解 CDQ分治 CODE: #include<cstdio>#include<algorithm>using namespace std;#define lowbit(x) x&(-x)const int N=2e5+10;struct node{int x,y,z,Case,id,wh,f;inline bool operator <(const nod