![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
平衡树
鸭脖yb
这个作者很懒,什么都没留下…
展开
-
平衡树模板
spaly插入删除查找,前缀后缀模板题目链接普通平衡树#include<iostream>#include<cstring>#include<cstdio>using namespace std;#define N 300005int n,opt,x,root,sz;int f[N],ch[N][2],key[N],size[N],c...原创 2018-07-27 18:42:25 · 381 阅读 · 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 · 644 阅读 · 0 评论