@[星小雨](/space/show?uid=20435) 似乎是单点修改+查询区间最大子段和
by Juan_feng @ 2018-10-18 19:34:54
@[Juan_feng](/space/show?uid=66965) (习惯写非递归单点修改)
by 星小雨 @ 2018-10-18 19:35:41
@[星小雨](/space/show?uid=20435) 突然发现似乎没有修改(雾
by Juan_feng @ 2018-10-18 19:37:10
@[Juan_feng](/space/show?uid=66965) 没有修改。。应该不用写线段树吧
by 星小雨 @ 2018-10-18 19:38:43
@[星小雨](/space/show?uid=20435) 我也觉得是呀= = 可能是小蒟蒻看错了qwq?
by Juan_feng @ 2018-10-18 19:40:46
```
now.ls=max(a.ls,a.sum+a.ls);
```
@[cn:苏卿念](/space/show?uid=57699)
by Captain_Paul @ 2018-10-18 19:41:27
@[星小雨](/space/show?uid=20435) 的的确确没有修改
by Juan_feng @ 2018-10-18 19:42:54
@[Captain_Paul](/space/show?uid=43471) 谢谢qwqwq
by Arcturus1350 @ 2018-10-18 19:44:29
@[Juan_feng](/space/show?uid=66965) 那怎么写呢w
by 星小雨 @ 2018-10-18 19:45:31
@[星小雨](/space/show?uid=20435) 这道题好像是。。。猫树?
by Juan_feng @ 2018-10-18 19:47:23