View Code #include<stdio.h>#include<string.h>const int MAX=8010;#define L(x) x<<1#define R(x) x<<1|1#define MID(x,y) (x+y)>>1struct { int l,r,col;}node[MAX*4];int seg[MAX],col[MAX];void init(){ memset(node,0,sizeof(node)); memset(col,-1,sizeof(col));}void build(int t,in Read More
posted @ 2011-09-08 20:52 Because Of You Views(390) Comments(0) Diggs(1) Edit