摘要: 题目:http://poj.org/problem?id=2777区间更新,比点更新多一点内容, 详见注释, 参考了一下别人的博客。。。。参考博客:http://www.2cto.com/kf/201402/277917.html 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxn = 100000 + 10; 7 8 bool mark[35]; 9 struct node 10 { 11 int l, r, kind; 12 }tr[max... 阅读全文
posted @ 2014-02-24 00:31 水门 阅读(216) 评论(0) 推荐(0) 编辑