平衡树
鸭脖yb
这个作者很懒,什么都没留下…
展开
-
平衡树模板
spaly插入删除查找,前缀后缀模板 题目链接普通平衡树 #include<iostream> #include<cstring> #include<cstdio> using namespace std; #define N 300005 int n,opt,x,root,sz; int f[N],ch[N][2],key[N],size[N],c...原创 2018-07-27 18:42:25 · 360 阅读 · 0 评论 -
牛客多校第四场——splay的区间平移操作
链接:https://www.nowcoder.com/acm/contest/141/C 来源:牛客网 Eddy likes to play cards game since there are always lots of randomness in the game. For most of the cards game, the very first step in the game...原创 2018-08-05 19:05:33 · 631 阅读 · 0 评论