10分求调

P3372 【模板】线段树 1

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


|