View Code #include<cstdio>#include<cstring>#include<algorithm>using namespace std;#define lson l,m,rt<<1#define rson m+1,r,rt<<1|1const int maxn = 1000;double sum[maxn<<2];int cover[maxn<<2];double x[maxn];struct seg{ double l,r,h; int flag; seg(){} seg(doub Read More
posted @ 2012-01-21 20:32 Because Of You Views(370) Comments(0) Diggs(0) Edit