![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
左偏树
蜗角虚名羊
这个作者很懒,什么都没留下…
展开
-
bzoj2333: [SCOI2011]棘手的操作
题目 题解 set+左偏树 #include<bits/stdc++.h> using namespace std; const int N=300002; int fa[N],l[N],r[N],x,y,w[N],add[N],d[N],n,i,m,rx,ry,v; multiset<int>S; char s[3]; #define gc getchar inline ...转载 2018-12-11 10:53:12 · 134 阅读 · 0 评论 -
左偏树 可并堆
文章目录模板[boi2004 sequence(bzoj1367)](http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1367)[poj3016 K-Monotonic](http://poj.org/problem?id=3016)[bzoj2809 [APIO2012]dispatching](http://acm.zj...原创 2019-01-12 20:42:41 · 116 阅读 · 0 评论