我的做法中有一步与题解有所不同(就是堆/multiset 维护一步)
且这篇题解是于我而言比较重要的题解,希望能过。
https://www.luogu.com.cn/blog/int08/p2178-noi2015-pin-jiu-tai-kuai-ti-xie