BOANY
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
历年真题
推荐题单
Login
Register
1251: 二叉树计数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:6
Solved:0
Submit
Submit Record
Statistics
ShowOff!
Description
由 n 个节点最多可组成多少个不同形态的二叉树?
Input
一行,一个正整数 n。
Output
不同形态的二叉树的个数。
Sample Input
Copy
2
Sample Output
Copy
2
HINT
保证 40%的数据 n<=35;
保证 100%的数据 n<=5000。
Source/Category
树
二叉树
Submit
Submit Record
Statistics
ShowOff!