摘要: 矩阵快速幂。最外层的取模是1e9+7,第二层的取模 L1 = (1e9+7的循环节),第三层的取模是 L2 = (L1的循环节)暴力找出L2, L1, 然后矩阵快速幂即可。。。View Code #include <iostream>#include <cstdio>#include <cmath>#include <vector>#include <cstring>#include <algorithm>#include <string>#include <set>#include <fun 阅读全文
posted @ 2012-09-16 20:02 AC_Von 阅读(1131) 评论(0) 推荐(0) 编辑