0_0_33800934_1204\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_33800934_1204\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_33800934_1204\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_33800934_1204\Main.java:3: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_33800934_1204\Main.java:4: 错误: 非法字符: '#'
#include<vector>
^
0_0_33800934_1204\Main.java:5: 错误: 非法字符: '#'
#include<cmath>
^
0_0_33800934_1204\Main.java:6: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_33800934_1204\Main.java:8: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_33800934_1204\Main.java:9: 错误: 需要class, interface或enum
typedef vector<LL> vec;
^
0_0_33800934_1204\Main.java:10: 错误: 需要class, interface或enum
typedef vector<vec> mat;
^
0_0_33800934_1204\Main.java:11: 错误: 需要class, interface或enum
const LL MOD = 10000007LL;
^
0_0_33800934_1204\Main.java:12: 错误: 需要class, interface或enum
void print(mat &A) {
^
0_0_33800934_1204\Main.java:13: 错误: 需要class, interface或enum
for(int i = 0; i < A.size(); i++) {
^
0_0_33800934_1204\Main.java:13: 错误: 需要class, interface或enum
for(int i = 0; i < A.size(); i++) {
^
0_0_33800934_1204\Main.java:14: 错误: 需要class, interface或enum
for(int j = 0; j < A[i].size(); j++) printf("%d ", A[i][j]);
^
0_0_33800934_1204\Main.java:14: 错误: 需要class, interface或enum
for(int j = 0; j < A[i].size(); j++) printf("%d ", A[i][j]);
^
0_0_33800934_1204\Main.java:15: 错误: 需要class, interface或enum
printf("\n");
^
0_0_33800934_1204\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:19: 错误: 需要class, interface或enum
for(int i = 0; i <= 10; i++) {
^
0_0_33800934_1204\Main.java:19: 错误: 需要class, interface或enum
for(int i = 0; i <= 10; i++) {
^
0_0_33800934_1204\Main.java:21: 错误: 需要class, interface或enum
for(int j = 1; j <= 10; j++) {
^
0_0_33800934_1204\Main.java:21: 错误: 需要class, interface或enum
for(int j = 1; j <= 10; j++) {
^
0_0_33800934_1204\Main.java:21: 错误: 需要class, interface或enum
for(int j = 1; j <= 10; j++) {
^
0_0_33800934_1204\Main.java:23: 错误: 需要class, interface或enum
else A[i][j] = 0;
^
0_0_33800934_1204\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:27: 错误: 需要class, interface或enum
for(int j = 0; j <= 11; j++) {
^
0_0_33800934_1204\Main.java:27: 错误: 需要class, interface或enum
for(int j = 0; j <= 11; j++) {
^
0_0_33800934_1204\Main.java:29: 错误: 需要class, interface或enum
else A[11][11] = 1;
^
0_0_33800934_1204\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:34: 错误: 需要class, interface或enum
for(int i = 0; i < A.size(); i++)
^
0_0_33800934_1204\Main.java:34: 错误: 需要class, interface或enum
for(int i = 0; i < A.size(); i++)
^
0_0_33800934_1204\Main.java:34: 错误: 需要class, interface或enum
for(int i = 0; i < A.size(); i++)
^
0_0_33800934_1204\Main.java:35: 错误: 需要class, interface或enum
for(int k = 0; k < B.size(); k++)
^
0_0_33800934_1204\Main.java:35: 错误: 需要class, interface或enum
for(int k = 0; k < B.size(); k++)
^
0_0_33800934_1204\Main.java:36: 错误: 需要class, interface或enum
for(int j = 0; j < B[0].size(); j++)
^
0_0_33800934_1204\Main.java:36: 错误: 需要class, interface或enum
for(int j = 0; j < B[0].size(); j++)
^
0_0_33800934_1204\Main.java:38: 错误: 需要class, interface或enum
return C;
^
0_0_33800934_1204\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:42: 错误: 需要class, interface或enum
for(int i = 0; i < B.size(); i++)B[i][i] = 1;
^
0_0_33800934_1204\Main.java:42: 错误: 需要class, interface或enum
for(int i = 0; i < B.size(); i++)B[i][i] = 1;
^
0_0_33800934_1204\Main.java:42: 错误: 需要class, interface或enum
for(int i = 0; i < B.size(); i++)B[i][i] = 1;
^
0_0_33800934_1204\Main.java:43: 错误: 需要class, interface或enum
while(n > 0) {
^
0_0_33800934_1204\Main.java:45: 错误: 需要class, interface或enum
n >>= 1;
^
0_0_33800934_1204\Main.java:46: 错误: 需要class, interface或enum
A = mul(A, A);
^
0_0_33800934_1204\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:52: 错误: 需要class, interface或enum
num = mul(A, num);//做矩阵乘法
^
0_0_33800934_1204\Main.java:53: 错误: 需要class, interface或enum
printf("%lld\n", num[n][0]);//最后答案即为num[n][0]
^
0_0_33800934_1204\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:57: 错误: 需要class, interface或enum
mat A(12, vec(12));//构造矩阵数组
^
0_0_33800934_1204\Main.java:58: 错误: 需要class, interface或enum
mat num(12, vec(1));//第一列可看成12*1的矩阵
^
0_0_33800934_1204\Main.java:59: 错误: 需要class, interface或enum
while(~scanf("%d%d", &n, &m)) {
^
0_0_33800934_1204\Main.java:61: 错误: 需要class, interface或enum
for(int i = 0; i <= 11; i++)num[i][0] = 0LL;
^
0_0_33800934_1204\Main.java:61: 错误: 需要class, interface或enum
for(int i = 0; i <= 11; i++)num[i][0] = 0LL;
^
0_0_33800934_1204\Main.java:61: 错误: 需要class, interface或enum
for(int i = 0; i <= 11; i++)num[i][0] = 0LL;
^
0_0_33800934_1204\Main.java:62: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)scanf("%d", &num[i][0]);
^
0_0_33800934_1204\Main.java:62: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)scanf("%d", &num[i][0]);
^
0_0_33800934_1204\Main.java:62: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)scanf("%d", &num[i][0]);
^
0_0_33800934_1204\Main.java:63: 错误: 需要class, interface或enum
num[11][0] = 3LL;
^
0_0_33800934_1204\Main.java:64: 错误: 需要class, interface或enum
num[0][0] = 23LL;
^
0_0_33800934_1204\Main.java:65: 错误: 需要class, interface或enum
solve(A, n, m, num);
^
0_0_33800934_1204\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_33800934_1204\Main.java:68: 错误: 需要class, interface或enum
}
^
64 个错误
|