摘要: #include #include typedef long long LL;const int MAXN = 100 + 5;const LL mod = 10000007;struct Mat{ LL mat[MAXN][MAXN];}A, E; // 题目矩阵和单位矩阵int n;void Unit(Mat a){ for(int i = 0; i = mod) c.mat[i][j] %= mod; } } } } return c;}Mat ... 阅读全文
posted @ 2013-07-27 15:52 芒果布丁 阅读(305) 评论(0) 推荐(0) 编辑