0_0_14835002_17929.cpp:9:5: error: 'LL' does not name a type
LL a[5][5];
^
0_0_14835002_17929.cpp: In function 'void init()':
0_0_14835002_17929.cpp:14:16: error: 'struct Matrix' has no member named 'a'
memset(ori.a, 0, sizeof(ori.a));
^
0_0_14835002_17929.cpp:14:33: error: 'struct Matrix' has no member named 'a'
memset(ori.a, 0, sizeof(ori.a));
^
0_0_14835002_17929.cpp:15:16: error: 'struct Matrix' has no member named 'a'
memset(res.a, 0, sizeof(res.a));
^
0_0_14835002_17929.cpp:15:33: error: 'struct Matrix' has no member named 'a'
memset(res.a, 0, sizeof(res.a));
^
0_0_14835002_17929.cpp:16:9: error: 'struct Matrix' has no member named 'a'
ori.a[0][0] = ori.a[0][3] = ori.a[2][1] = 1;
^
0_0_14835002_17929.cpp:16:23: error: 'struct Matrix' has no member named 'a'
ori.a[0][0] = ori.a[0][3] = ori.a[2][1] = 1;
^
0_0_14835002_17929.cpp:16:37: error: 'struct Matrix' has no member named 'a'
ori.a[0][0] = ori.a[0][3] = ori.a[2][1] = 1;
^
0_0_14835002_17929.cpp:17:9: error: 'struct Matrix' has no member named 'a'
ori.a[2][3] = 2;
^
0_0_14835002_17929.cpp:18:9: error: 'struct Matrix' has no member named 'a'
ori.a[3][2] = ori.a[3][3] = 1;
^
0_0_14835002_17929.cpp:18:23: error: 'struct Matrix' has no member named 'a'
ori.a[3][2] = ori.a[3][3] = 1;
^
0_0_14835002_17929.cpp:20:13: error: 'struct Matrix' has no member named 'a'
res.a[i][i] = 1;
^
0_0_14835002_17929.cpp: In function 'Matrix muitl(Matrix, Matrix)':
0_0_14835002_17929.cpp:25:14: error: 'struct Matrix' has no member named 'a'
memset(z.a, 0, sizeof(z.a));
^
0_0_14835002_17929.cpp:25:29: error: 'struct Matrix' has no member named 'a'
memset(z.a, 0, sizeof(z.a));
^
0_0_14835002_17929.cpp:30:18: error: 'struct Matrix' has no member named 'a'
if(x.a[i][k] == 0) continue;
^
0_0_14835002_17929.cpp:32:19: error: 'struct Matrix' has no member named 'a'
z.a[i][j] = (z.a[i][j] + (x.a[i][k] * y.a[k][j]) % MOD) % MOD;
^
0_0_14835002_17929.cpp:32:32: error: 'struct Matrix' has no member named 'a'
z.a[i][j] = (z.a[i][j] + (x.a[i][k] * y.a[k][j]) % MOD) % MOD;
^
0_0_14835002_17929.cpp:32:45: error: 'struct Matrix' has no member named 'a'
z.a[i][j] = (z.a[i][j] + (x.a[i][k] * y.a[k][j]) % MOD) % MOD;
^
0_0_14835002_17929.cpp:32:57: error: 'struct Matrix' has no member named 'a'
z.a[i][j] = (z.a[i][j] + (x.a[i][k] * y.a[k][j]) % MOD) % MOD;
^
0_0_14835002_17929.cpp: At global scope:
0_0_14835002_17929.cpp:37:1: error: 'LL' does not name a type
LL F[5];
^
0_0_14835002_17929.cpp: In function 'void solve(int)':
0_0_14835002_17929.cpp:47:5: error: 'LL' was not declared in this scope
LL ans = 0;
^
0_0_14835002_17929.cpp:49:9: error: 'ans' was not declared in this scope
ans = (ans + (res.a[i][3] * F[i]) % MOD) % MOD;
^
0_0_14835002_17929.cpp:49:27: error: 'struct Matrix' has no member named 'a'
ans = (ans + (res.a[i][3] * F[i]) % MOD) % MOD;
^
0_0_14835002_17929.cpp:49:37: error: 'F' was not declared in this scope
ans = (ans + (res.a[i][3] * F[i]) % MOD) % MOD;
^
0_0_14835002_17929.cpp:50:22: error: 'ans' was not declared in this scope
printf("%lld\n", ans);
^
0_0_14835002_17929.cpp: In function 'int main()':
0_0_14835002_17929.cpp:57:9: error: 'F' was not declared in this scope
F[0] = 1; F[1] = 1; F[2] = 2, F[3] = 5;
^
|