Pro.ID22155 TitleTree Counting Title链接http://10.20.2.8/oj/exercise/problem?problem_id=22155 AC0 Submit2 Ratio0.00% 时间&空间限制描述Given two integers n, d. Count the number of labeled trees with n nodes, and the length of the longest path (from one node to another) is d. 输入Each line contains two integers n, d ( 1 ≤ n ≤ 100 ). 输出Description Given two integers n, d. Count the number of labeled trees with n nodes, and the length of the longest path (from one node to another) is d. Input Each line contains two integers n, d ( 1 ≤ n ≤ 100 ). Output For each case, output a line which contains only one integer. Sample Input 2 1 Sample Output 1 Source 样例输入2 1 样例输出1 作者 |