Marcythm-Archive / gitalk

1 stars 0 forks source link

「AtCoder Grand Contest 005」F. Many Easy Problems | Trisolaris's Blog #66

Open Marcythm opened 5 years ago

Marcythm commented 5 years ago

https://blog.trisolaris.top/agc005f/

Problem Description 给定一棵 n 个点的树,定义 f(k) : f(k)=\sum_{S\subseteq V,|S| = k}\left|g(S)\right| 其中 g(S)