鑫鑫的学习博客

导航

2014年8月13日 #

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 鑫鑫的学习博客 阅读(587) 评论(2) 推荐(0) 编辑