摘要: 题面 https://www.luogu.org/problemnew/show/CF487E 1、$LCT$ 中,翻转懒标记,我是在打上的一刻同时进行翻转左右儿子,所以在 $makeroot(x)$ 的时候 $rev[x] \oplus =1,swap(ch[x][0],ch[x][1])$ 2、 阅读全文
posted @ 2019-06-23 21:15 HellPix 阅读(166) 评论(0) 推荐(0) 编辑