0_0_14671151_17218.cpp:1:1: error: 'onst' does not name a type
onst int MOD = 2015;
^
0_0_14671151_17218.cpp: In function 'node mult(node, node)':
0_0_14671151_17218.cpp:13:34: error: 'memset' was not declared in this scope
memset(c.mat, 0, sizeof c.mat);
^
0_0_14671151_17218.cpp:17:62: error: 'MOD' was not declared in this scope
c.mat[i][j] += (a.mat[i][k] * b.mat[k][j]) % MOD;
^
0_0_14671151_17218.cpp: In function 'node plu(node, node)':
0_0_14671151_17218.cpp:26:34: error: 'memset' was not declared in this scope
memset(c.mat, 0, sizeof c.mat);
^
0_0_14671151_17218.cpp:29:55: error: 'MOD' was not declared in this scope
c.mat[i][j] = a.mat[i][j] + b.mat[i][j] % MOD;
^
0_0_14671151_17218.cpp: In function 'int main()':
0_0_14671151_17218.cpp:50:19: error: 'scanf' was not declared in this scope
scanf("%d", &_);
^
0_0_14671151_17218.cpp:55:40: error: 'memset' was not declared in this scope
memset(st.mat, 0, sizeof st.mat);
^
0_0_14671151_17218.cpp:69:9: error: 'll' was not declared in this scope
ll an = 0;
^
0_0_14671151_17218.cpp:72:44: error: 'printf' was not declared in this scope
printf("%d ", ans.mat[i][j]);
^
0_0_14671151_17218.cpp:74:24: error: 'printf' was not declared in this scope
printf("\n");
^
0_0_14671151_17218.cpp:78:17: error: 'an' was not declared in this scope
an = (an + ans.mat[i][j]) % MOD;
^
0_0_14671151_17218.cpp:78:45: error: 'MOD' was not declared in this scope
an = (an + ans.mat[i][j]) % MOD;
^
0_0_14671151_17218.cpp:79:26: error: 'an' was not declared in this scope
printf("%lld\n", an);
^
0_0_14671151_17218.cpp:79:28: error: 'printf' was not declared in this scope
printf("%lld\n", an);
^
|