摘要:
#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 ... 阅读全文