FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has Read More
posted @ 2018-03-08 20:11
呦呦哟
Views(169)
Comments(0)
Diggs(0)
Fibonacci数列,定义如下: f(1)=f(2)=1 f(n)=f(n-1)+f(n-2) n>=3。 计算第n项Fibonacci数值。 Input输入第一行为一个整数N,接下来N行为整数Pi(1<=Pi<=1000)。 Output输出为N行,每行为对应的f(Pi)。 Sample Inp Read More
posted @ 2018-03-08 19:30
呦呦哟
Views(132)
Comments(0)
Diggs(0)