【Back to Basics】查询区间 $a[0, r)$ 上大于等于 $k$ 的数有多少个

如题。

可持久化线段树。

原文地址:https://www.cnblogs.com/Patt/p/11567576.html