随笔分类 -  treap

摘要:题目 1.splay 题解 #include<cstdio> const int N=100003,inf=1<<30; int n,x,opt; struct Splay{ #define rt e[0].ch[1] struct node{ int ch[2],fa,v,sum,same; }e 阅读全文
posted @ 2018-06-15 15:16 Mingoal 阅读(14) 评论(0) 推荐(0)