Preparing NOJ

二叉树

1000ms 65536K

Description:

求N个节点构成的二叉树总个数,对10007取模的值。

Input:

样例数T<=1000
节点数N<=1000         

Output:

每组数据一行 为求的的个数 对10007取模的值

Sample Input:

1
3

Sample Output:

5

Note:

null

本题由旧版NOJ导入,来源:3D

Info

NOJ

Provider NOJ

Code NOJ1997

Tags

Submitted 1

Passed 1

AC Rate 100%

Date 04/20/2019 10:03:10

Related

Nothing Yet