C语言
文章平均质量分 69
my__shy
这个作者很懒,什么都没留下…
展开
-
Rightmost Digit
对于我写的程序而言,这一题还是比较简单的,只要能够想到解题思路即可。但是我觉得应该有更简单更高级的算法,只不过现在还没想到,继续奋斗吧不管如何,这个一题是ac了,心里还是比较高兴的。问题 B: RightmostDigit题目描述Given a positive integer N, you shouldoutput the most right digit of N^N.原创 2016-09-23 14:42:31 · 236 阅读 · 0 评论 -
Fibonacci
问题 C: Fibonacci题目描述In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten termsof the Fibonacci sequence are:0, 1, 1, 2, 3, 5, 8,原创 2016-09-27 13:57:41 · 467 阅读 · 0 评论 -
Fibonacci
问题 C: Fibonacci题目描述In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten termsof the Fibonacci sequence are:0, 1, 1, 2, 3, 5, 8,原创 2016-09-27 14:08:40 · 195 阅读 · 0 评论