Solution -「JOISC 2021」ビーバーの会合 2
Desc.Link.给出一棵大小为 $n$ 的树, 记 $f(S)$ 表示, 令点集 $S$ 中的点的点权为 $1$, 其余为 $0$, 树的带权重心数量. 求 $\max_{|S| = i}$...
In mathematics you don't understand things, you just get used to them.
In mathematics you don't understand things, you just get used to them.