xehoth / xehoth-blog-comment

0 stars 0 forks source link

「BZOJ 4154」Generating Synergy-k-d 树 | xehoth #280

Open xehoth opened 7 years ago

xehoth commented 7 years ago

https://blog.xehoth.cc/BZOJ4154/

给定一棵以 $1$ 为根的有根树,初始所有节点颜色为 $1$,每次将距离节点 $a$ 不超过 $l$ 的 $a$ 的子节点染成 $c$,或询问点 $a$ 的颜色。

815095999 commented 7 years ago

点分好像要把是子节点的限制去掉。。