2017年4月15日

平衡树treap的基本操作

摘要: 也是一棵平衡树所以要旋转 (pri,key); 左边小右边大 key pri 符合堆 实现log 的操作 #include<stdio.h> #include<algorithm> #include<stdlib.h> #include<cstring> #include<iostream> #in 阅读全文

posted @ 2017-04-15 15:30 HelloWorld!--By-MJY 阅读(126) 评论(0) 推荐(0) 编辑

导航