OkazakiYumemi / okazakiyumemi.github.io

Maybe just a blog
https://okazakiyumemi.github.io/
0 stars 0 forks source link

「CF1266F」Almost Same Distance | Okazaki Yumemi's blog #53

Open OkazakiYumemi opened 4 years ago

OkazakiYumemi commented 4 years ago

https://okazakiyumemi.github.io/blog/%E3%80%8CCF1266F%E3%80%8DAlmost-Same-Distance/

nantf 由于生病窝在家里打 Global Round 6 然后 rating 超过 p_b_p_b 了…… 然后他场上做了 A - E。 题意简述给定一棵树大小为 $n$ 。定义一个点集 $S$ 是 $k$ 均匀的,当且仅当对于任意 $u,v\in S, u\ne v$ ,有 $\operatorname{dist}(u, v) = k$ 或 $\operatorname{dist}(u