摘要: 切割的话就split再merge,区间修改就splay然后lazy标记。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int N = 300000; 7 int ans[N]; 8 int... 阅读全文
posted @ 2015-08-25 09:35 hxy_has_been_used 阅读(138) 评论(0) 推荐(0)