Skip to main content

洛谷 P3834 【模板】可持久化线段树 2

如题,给定 nn 个整数构成的序列 aa,将对于指定的闭区间 [l,r][l, r] 查询其区间内的第 kk 小值。