@[yshs](/user/911545) `atag()` 中第一行改成 `tree[p].val += (tree[p].r-tree[p].l+1)*d;`。 by Luzhuoyuan @ 2023-12-05 18:27:28