蒟蒻求助线段树

P1253 扶苏的问题

@[Ptilopsis_w](/user/239167)
by Weight_of_the_Soul @ 2022-09-23 20:12:50


后 4 个点 WA
by Weight_of_the_Soul @ 2022-09-23 20:13:30


@[LordLaffey](/user/335136)
by Weight_of_the_Soul @ 2022-09-23 20:20:47


有没有考虑一下开`long long `呢?
by Ptilopsis_w @ 2022-09-23 20:31:43


对不起没看见 `#define int long long`
by Ptilopsis_w @ 2022-09-23 20:32:31


在 `push_down()` 里,下传完 `tag1` ,不应该清空 `tag2` ,因为 `tag2` 的代表的操作的时间在 `tag1` 之后 @[Napoleon_Bonaparte](/user/394729)
by LordLaffey @ 2022-09-23 20:36:09


(指 tag2(p)
by LordLaffey @ 2022-09-23 20:36:47


@[LordLaffey](/user/335136) az,删掉了 tag2(p) 之后依旧只有 60
by Weight_of_the_Soul @ 2022-09-23 20:38:21


@[LordLaffey](/user/335136) 改过了,thx dalao %%% 此贴完结
by Weight_of_the_Soul @ 2022-09-23 20:39:39


膜拜 @[LordLaffey](/user/335136)
by 丙戌年 @ 2022-09-23 20:40:32


|