摘要: U - How Many Calls? UVA - 10518 题意: 询问斐波那契数f(n)调用几次,我们可以写出方程:F(n)=F(n-1)+F(n-2)+1 代码如下: #include <iostream> #include <cstdio> #include <cmath> #includ 阅读全文
posted @ 2018-01-23 10:12 jadelemon 阅读(210) 评论(0) 推荐(0) 编辑