随笔分类 -  数据结构——线段树的合并

摘要:简述: 解决线段树无法求区间第k大的问题 代码: 1 ///主席树模版(查询区间第k大) 2 #include <cstdio> 3 #include <cstdlib> 4 #include <cstring> 5 #include <algorithm> 6 #include <cctype> 阅读全文
posted @ 2019-10-27 00:19 wuliking 阅读(209) 评论(0) 推荐(0)