摘要: DescriptionIn the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci sequence are:0, 1, 1, 2, 3, 5, 8, 13, 21, 34, …Given two integers n and m, your goal is to compute the value of Fn mod m. InputThe input test file will 阅读全文
posted @ 2013-12-05 21:09 y丫t 阅读(298) 评论(0) 推荐(0)