会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Where there's pain, there's life
I see sparks fly whenever you smile
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
数据结构:平衡树
笔记:Splay简约写法
摘要:待办: 证明treap、splay的复杂度是logn 疑问: splay的常数是不是有点大? splay删除的具体细节。 splay 存树: struct node { int s[2]; // 左右儿子 int p; // 父节点 int v; // 点权 int cnt; // 重复记录 int
阅读全文
posted @
2022-12-25 16:45
Vegdie
阅读(32)
评论(0)
推荐(0)
公告