#613. 斐波那契数列
斐波那契数列
定义 f(0)=0, f(1)=1, f(n)=f(n−1)+f(n−2)。输入 n(0 ≤ n ≤ 40),输出 f(n)。
定义 f(0)=0, f(1)=1, f(n)=f(n−1)+f(n−2)。输入 n(0 ≤ n ≤ 40),输出 f(n)。
By signing up a YSSSN universal account, you can submit code and join discussions in all online judging services provided by us.