摘要: http://acm.timus.ru/problem.aspx?space=1&num=1126 1 #include 2 #include 3 #include 4 #define maxn 25500 5 using namespace std; 6 7 int a[maxn]; 8 struct node 9 {10 int l,r;11 int max1;12 }tree[maxn*4];13 int max2;14 15 void build(int i,int l,int r)16 {17 tree[i].l=l;tree[i].r=r;18 ... 阅读全文
posted @ 2014-03-15 20:34 null1019 阅读(203) 评论(0) 推荐(0) 编辑