0_0_29441673_27411.cpp: In function 'void mult()':
0_0_29441673_27411.cpp:48:2: error: expected primary-expression before 'int'
int x[N][N], y[N][N]
^
0_0_29441673_27411.cpp:48:2: error: return-statement with a value, in function returning 'void' [-fpermissive]
0_0_29441673_27411.cpp:48:2: error: expected ';' before 'int'
0_0_29441673_27411.cpp:49:5: error: expected initializer before 'int'
int i,j,k;
^
0_0_29441673_27411.cpp:50:10: error: 'i' was not declared in this scope
for (i=1;i<=n;i++)
^
0_0_29441673_27411.cpp:50:17: error: 'n' was not declared in this scope
for (i=1;i<=n;i++)
^
0_0_29441673_27411.cpp:51:14: error: 'j' was not declared in this scope
for (j=1;j<=n;j++)
^
0_0_29441673_27411.cpp:53:17: error: 'c' was not declared in this scope
c[i][j]=0;
^
0_0_29441673_27411.cpp:54:22: error: 'k' was not declared in this scope
for (k=1;k<=n;k++) c[i][j]=(c[i][j]+x[i][k]*y[k][j])%mo;
^
0_0_29441673_27411.cpp:54:61: error: 'y' was not declared in this scope
for (k=1;k<=n;k++) c[i][j]=(c[i][j]+x[i][k]*y[k][j])%mo;
^
0_0_29441673_27411.cpp:54:70: error: 'mo' was not declared in this scope
for (k=1;k<=n;k++) c[i][j]=(c[i][j]+x[i][k]*y[k][j])%mo;
^
0_0_29441673_27411.cpp:56:10: error: 'i' was not declared in this scope
for (i=1;i<=n;i++)
^
0_0_29441673_27411.cpp:56:17: error: 'n' was not declared in this scope
for (i=1;i<=n;i++)
^
0_0_29441673_27411.cpp:57:14: error: 'j' was not declared in this scope
for (j=1;j<=n;j++) x[i][j]=c[i][j];
^
0_0_29441673_27411.cpp:57:36: error: 'c' was not declared in this scope
for (j=1;j<=n;j++) x[i][j]=c[i][j];
^
0_0_29441673_27411.cpp: In function 'int main()':
0_0_29441673_27411.cpp:83:5: error: expected ';' before 'int'
int t; scanf("%d", &t);
^
0_0_29441673_27411.cpp:83:25: error: 't' was not declared in this scope
int t; scanf("%d", &t);
^
|