0_0_26032106_25069\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_26032106_25069\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_26032106_25069\Main.java:5: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_26032106_25069\Main.java:7: 错误: 需要class, interface或enum
const int m = 1024;
^
0_0_26032106_25069\Main.java:8: 错误: 需要class, interface或enum
int k;
^
0_0_26032106_25069\Main.java:9: 错误: 需要class, interface或enum
struct Matrix
^
0_0_26032106_25069\Main.java:12: 错误: 需要class, interface或enum
Matrix()
^
0_0_26032106_25069\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0; i<5; i++)
^
0_0_26032106_25069\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0; i<5; i++)
^
0_0_26032106_25069\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:23: 错误: 需要class, interface或enum
Matrix Mul(Matrix a, Matrix b)
^
0_0_26032106_25069\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<2;i++)
^
0_0_26032106_25069\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<2;i++)
^
0_0_26032106_25069\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<2;i++)
^
0_0_26032106_25069\Main.java:27: 错误: 需要class, interface或enum
for (int j = 0; j < 2; j++)
^
0_0_26032106_25069\Main.java:27: 错误: 需要class, interface或enum
for (int j = 0; j < 2; j++)
^
0_0_26032106_25069\Main.java:30: 错误: 需要class, interface或enum
for (int k = 0; k < 2; k++)
^
0_0_26032106_25069\Main.java:30: 错误: 需要class, interface或enum
for (int k = 0; k < 2; k++)
^
0_0_26032106_25069\Main.java:30: 错误: 需要class, interface或enum
for (int k = 0; k < 2; k++)
^
0_0_26032106_25069\Main.java:32: 错误: 需要class, interface或enum
ans.a[i][j] %= m;
^
0_0_26032106_25069\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:40: 错误: 需要class, interface或enum
ans.init();
^
0_0_26032106_25069\Main.java:41: 错误: 需要class, interface或enum
while (k)
^
0_0_26032106_25069\Main.java:45: 错误: 需要class, interface或enum
k >>= 1;
^
0_0_26032106_25069\Main.java:46: 错误: 需要class, interface或enum
a = Mul(a, a);
^
0_0_26032106_25069\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:54: 错误: 需要class, interface或enum
Matrix res, ans;
^
0_0_26032106_25069\Main.java:55: 错误: 需要class, interface或enum
cin >> t;
^
0_0_26032106_25069\Main.java:56: 错误: 需要class, interface或enum
while (t--)
^
0_0_26032106_25069\Main.java:59: 错误: 需要class, interface或enum
res.a[0][0] = 5;
^
0_0_26032106_25069\Main.java:60: 错误: 需要class, interface或enum
res.a[0][1] = 12;
^
0_0_26032106_25069\Main.java:61: 错误: 需要class, interface或enum
res.a[1][0] = 2;
^
0_0_26032106_25069\Main.java:62: 错误: 需要class, interface或enum
res.a[1][1] = 5;
^
0_0_26032106_25069\Main.java:63: 错误: 需要class, interface或enum
ans = Pow(res, k - 1);
^
0_0_26032106_25069\Main.java:64: 错误: 需要class, interface或enum
int sum = (2 * (ans.a[0][0] * 5 + ans.a[0][1] * 2) - 1) % m;
^
0_0_26032106_25069\Main.java:65: 错误: 需要class, interface或enum
cout << sum << endl;
^
0_0_26032106_25069\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_26032106_25069\Main.java:68: 错误: 需要class, interface或enum
}
^
41 个错误
|