Part 1 简介对顶堆是一种可以 $O(\log n)$ 维护在线第K小值的数据结构
其实就是一个大根堆和一个小根堆啦
Part 2 例题Luogu P1168 中位数
Luogu P3871 [TJOI2010]中位数
Part 3
2019-11-13