题意:求n-五边形的生成树个数。
结论题,答案为4*n*5^(n-1).
首先中心的n边形一定需要切掉一个边,C(1,n).
然后每个五边形都切一个边,C(1,4)*5^(n-1).
于是答案就是4*n*5^(n-1).
# include# include # include # include # include # include # include # include
本文共 1137 字,大约阅读时间需要 3 分钟。
题意:求n-五边形的生成树个数。
结论题,答案为4*n*5^(n-1).
首先中心的n边形一定需要切掉一个边,C(1,n).
然后每个五边形都切一个边,C(1,4)*5^(n-1).
于是答案就是4*n*5^(n-1).
# include# include # include # include # include # include # include # include
转载于:https://www.cnblogs.com/lishiyao/p/6932901.html