摘要: 没有插入和删除操作...所以还是很好写的,分块暴力就好了。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int N = 400; 8 const int M = 1... 阅读全文
posted @ 2015-08-17 16:33 hxy_has_been_used 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 各种操作o(╯□╰)o...不过都挺简单,不需要lazy标记。方法1:块状链表块状链表太强大了,区间操作实现起来简单暴力,效率比splay稍微慢一点,内存开销小很多。 1 #include 2 #include 3 #include 4 using namespace std; 5 ... 阅读全文
posted @ 2015-08-17 14:23 hxy_has_been_used 阅读(416) 评论(0) 推荐(1) 编辑