摘要: http://poj.org/problem?id=2482(1)普通的线段树问题。他人具体代码:View Code #include<cstdio>#include<iostream>#include<cstring>#include<algorithm>#define ls rt<<1#define rs rt<<1|1#define lson l,m,ls#define rson m+1,r,rsusing namespace std;const int mm=11111;const int mn=mm<< 阅读全文