摘要: 题目大意:已知f[0] = 0, f[1] = 1, f[i] = f[i-1] * 2 + f[i-2],且g[n] = g[n-1] + f[n] * f[n],现在给出n,y,x,s,问你x^(g[n*y]) mod (s + 1)的值为多少。解题思路:首先可以得到的是g[n] = f[n] ... 阅读全文
posted @ 2016-09-20 20:39 _Wilbert 阅读(158) 评论(0) 推荐(0) 编辑