@[Rousseau_](/space/show?uid=51621) %%%%%%%
by 花千树 @ 2018-08-04 13:06:24
@[陶文祥](/space/show?uid=56561) %%%%%%%%%%%
by 06ray @ 2018-08-04 13:06:40
自学线段树的巨佬
by 06ray @ 2018-08-04 13:06:55
@[陆麟瑞666](/space/show?uid=42443) WA,这不是小学写网络流的dalao吗%%%%%%
by Altria_Pendragon_ @ 2018-08-04 13:07:14
@[陆麟瑞666](/space/show?uid=42443) WA&&TLE,这不是小学AKIOI的dalao吗%%%%%
by 花千树 @ 2018-08-04 13:09:49
@[Rousseau_](/space/show?uid=51621)
```
SegTree[lson(p)]=(l>>1)-SegTree[lson(p)];
SegTree[rson(p)]=(l-(l>>1))-SegTree[rson(p)];
```
这两行貌似写错了
by 06ray @ 2018-08-04 13:16:37
@[陆麟瑞666](/space/show?uid=42443) 谢谢,我现在去改(可能我太ZZ了)
by Altria_Pendragon_ @ 2018-08-04 13:20:54
@[陆麟瑞666](/space/show?uid=42443) @[陶文祥](/space/show?uid=56561) 竟然没有人发现我建树没有pushup诶……
by Altria_Pendragon_ @ 2018-08-04 14:28:10
我觉得代码是不是有点太复杂了?
by speaker @ 2018-08-04 15:52:44
你挂在了getchar上,,,试试cin 或者scanf吧
by yizimi远欣 @ 2018-09-20 00:07:38