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