摘要: 题目大意:f(i)为fibonacci函数.g(i)=k*i+b,给定k,b,n,M求sum(f(g(i)) mod M for 0>1)using namespace std;typedef long long LL;const int MAX = 4;struct Mat{ int ro... 阅读全文
posted @ 2013-01-30 13:06 AbandonZHANG 阅读(113) 评论(0) 推荐(0)
摘要: 题目大意:f(i)为fibonacci函数.g(i)=k*i+b,给定k,b,n,M求sum(f(g(i)) mod M for 0>1)using namespace std;typedef long long LL;const int MAX = 4;struct Mat{ int ro... 阅读全文
posted @ 2013-01-30 13:06 AbandonZHANG 阅读(99) 评论(0) 推荐(0)