HDOJ1005 数列
摘要:
Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are t... 阅读全文
posted @ 2014-08-13 17:10 鑫鑫的学习博客 阅读(589) 评论(2) 推荐(0) 编辑