摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1316How Many Fibs?DescriptionRecall the definition of the Fibonacci numbers: $f_1 := 1$ $f_2 := 2$ $f_n ... 阅读全文
posted @ 2015-06-15 22:00 GadyPu 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1715大菲波数Description$Fibonacci$数列,定义如下:$f(1)=f(2)=1$$f(n)=f(n-1)+f(n-2) \ \ 3 \leq n$。计算第$n$项$Fibonacci$数... 阅读全文
posted @ 2015-06-15 21:49 GadyPu 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1212Train Problem IIDescriptionAs we all know the Train Problem I, the boss of the Ignatius Train Statio... 阅读全文
posted @ 2015-06-15 19:12 GadyPu 阅读(118) 评论(0) 推荐(0) 编辑