有长度为 nnn 的序列 AAA。
qqq 个区间,mmm 次单点修。
问每个区间的和的历史最值。
假如 nnn,mmm,qqq 同阶,目前有 O(n\sortnlogn)O(n\sort n\log n)O(n\sortnlogn) 做法。
希望得到更优的解法。