Binary Strings Gym - 101161G 矩阵快速幂 + 打表
摘要:
http://codeforces.com/gym/101161/attachments 这题通过打表,可以知道长度是i的时候的合法方案数。 然后得到f[1] = 2, f[2] = 3, f[3] = 5, f[4] = 8......这样的广义fib数列 现在要求f[k] + f[2k] + f 阅读全文
posted @ 2017-08-09 00:41 stupid_one 阅读(250) 评论(0) 推荐(0)
浙公网安备 33010602011771号