摘要: 树链剖分真可爱。 **[题目链接](https://www.luogu.com.cn/problem/P9555 "题目链接")** > - 给出 $n$ 个点的树,点有点权 $a_i(a_i\in\{0,1\})$。支持 $q$ 次操作: > > - $\texttt{1 }u$,$a_u\lef 阅读全文
posted @ 2023-08-17 22:47 lzyqwq 阅读(110) 评论(0) 推荐(0)