> 数学 >
求Fibonacci数列中大于t的最小的一个数,结果由函数返回.其中Fibonacci数列F(n)的定义为:F(0)=0,F(1)=1,
F(n)=F(n-1)+F(n-2)答案详解
人气:136 ℃ 时间:2020-09-17 10:40:02
解答
int fun(int t)
{
int a=0,b=1;
while((c=a+b)
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版