#Lutece1133. 菲波拉契数制
菲波拉契数制
Migrated from Lutece 1133 菲波拉契数制
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
我们定义如下数列为菲波拉契数列:
给定任意一个数,我们可以把它表示成若干互不相同的菲波拉契数之和。比如有三种表示法
现在给你一个数,请输出把它表示成若干互不相同的菲波拉契数之和有多少种表示法。
Input
第一样一个数,表示数据组数,之后行,每行一个数。
Output
输出行,每行一个数,即有多少种表示法。
Samples
6
1
2
3
4
5
13
1
1
2
1
2
3
Resources
2015 UESTC Training for Dynamic Programming