Solution -「CF 724F」Uniformly Branched Trees
DescriptionLink.给定三个数 $n,d,mod$,求有多少种 $n$ 个点的不同构的树满足:除了度数为 $1$ 的结点外,其余结点的度数均为 $d$。答案对质数 $mod$ 取模。...
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.