摘要: 【题意概述】 维护一个数列,要求支持以下6种操作: 【题解】 大Boss。。。可以用Treap解决 需要用到垃圾回收、线性建树。 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #define ls (a[u].l) 5 阅读全文
posted @ 2018-01-07 20:30 Driver_Lao 阅读(142) 评论(0) 推荐(0) 编辑