还是关于线段树(因为最近在做线段树难题qwq)
如果 n=5n=5n=5,我要询问 [2,4][2,4][2,4] 这个区间时,需要 333 个区间。但线段树上拼出任意区间不是只需要有 nlognn\log n nlogn 个已维护好的区间吗?