如果你线段树只对了#1 #3

P1253 扶苏的问题

yujiahaoa @ 2024-08-03 14:00:16

看看你的pushdown是先push加法还是先覆盖,一定先加法!!!且每次无论是求答案还是维护区间,均需要更新加法和覆盖!


by yujiahaoa @ 2024-08-03 14:00:38

总之,这题不对都是 扶苏的问题


by qyq_33 @ 2024-08-03 14:01:10

qp


by qyq_33 @ 2024-08-03 14:01:43

@yujiahaoa hhh


by yujiahaoa @ 2024-08-03 14:39:02

@qyq_33 doge


|