你为什么要去重
by skip2004 @ 2019-01-12 23:05:10
@[KCAH](/space/show?uid=22024)
by skip2004 @ 2019-01-12 23:06:05
@[skip2004](/space/show?uid=30122) 不去重好像有点锅 大概就是相等的会算出偏差。。。。
by KCAH @ 2019-01-12 23:08:33
@[KCAH](/space/show?uid=22024)
但是确实是不能去重的
因为这样可能会少算了你去掉的节点的贡献
~~不太清楚cpq怎么处理,我是写树套树的~~
by skip2004 @ 2019-01-12 23:13:37
这,cdq,笔误
by skip2004 @ 2019-01-12 23:14:11
@[skip2004](/space/show?uid=30122) 去掉节点的贡献我算了啊。。。记在x[i].t里
by KCAH @ 2019-01-12 23:19:59
我跟你错的一模一样。改不过来了
by LebronDurant @ 2019-03-02 18:05:14
@[KCAH](/space/show?uid=22024)
@[oooooooo](/space/show?uid=84564)
by Daniel_yuan @ 2019-03-18 20:46:52
树状数组要更新到k啊……
by Daniel_yuan @ 2019-03-18 20:47:58
@[Daniel_yuan](/space/show?uid=71955) 谢谢,我去看看
by LebronDurant @ 2019-03-18 21:48:45