0_0_27000753_26057.cpp:5:11: error: expected primary-expression before '=' token
#define N = 4;
^
0_0_27000753_26057.cpp:10:11: note: in expansion of macro 'N'
LL m[ N][N];
^
0_0_27000753_26057.cpp:5:14: error: expected ']' before ';' token
#define N = 4;
^
0_0_27000753_26057.cpp:10:11: note: in expansion of macro 'N'
LL m[ N][N];
^
0_0_27000753_26057.cpp:10:12: error: expected unqualified-id before ']' token
LL m[ N][N];
^
0_0_27000753_26057.cpp:10:15: error: expected unqualified-id before ']' token
LL m[ N][N];
^
0_0_27000753_26057.cpp: In function 'Matrix operator*(const Matrix&, const Matrix&)':
0_0_27000753_26057.cpp:5:11: error: expected primary-expression before '=' token
#define N = 4;
^
0_0_27000753_26057.cpp:16:25: note: in expansion of macro 'N'
for (int i = 0; i < N ;
^
0_0_27000753_26057.cpp:16:27: error: expected primary-expression before ';' token
for (int i = 0; i < N ;
^
0_0_27000753_26057.cpp:16:27: error: expected ')' before ';' token
0_0_27000753_26057.cpp:17:7: error: 'i' was not declared in this scope
++i) {
^
0_0_27000753_26057.cpp: In function 'void init_unit()':
0_0_27000753_26057.cpp:5:11: error: expected primary-expression before '=' token
#define N = 4;
^
0_0_27000753_26057.cpp:32:25: note: in expansion of macro 'N'
for (int i = 0; i < N ;
^
0_0_27000753_26057.cpp:32:27: error: expected primary-expression before ';' token
for (int i = 0; i < N ;
^
0_0_27000753_26057.cpp:32:27: error: expected ')' before ';' token
0_0_27000753_26057.cpp:33:7: error: 'i' was not declared in this scope
++i) {
^
0_0_27000753_26057.cpp: In function 'int main()':
0_0_27000753_26057.cpp:64:65: error: too many initializers for 'Matrix'
Matrix rs = {0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -1, 1, 5, 1};
^
0_0_27000753_26057.cpp:67:35: error: 'pow_mat' was not declared in this scope
Matrix tmp = pow_mat(rs, n);
^
0_0_27000753_26057.cpp:71:39: error: 'struct Matrix' has no member named 'm'
tmp2[i] += a[j] * tmp.m[i][j] % mod;
^
|