0_0_17639117_21479.cpp:9:30: error: invalid types 'int[int]' for array subscript
int a[1005][1005],b[1005[1005],c[1005][1005];
^
0_0_17639117_21479.cpp:9:31: error: expected ']' before ',' token
int a[1005][1005],b[1005[1005],c[1005][1005];
^
0_0_17639117_21479.cpp: In function 'int main()':
0_0_17639117_21479.cpp:59:24: error: 'b' was not declared in this scope
memset(b,0,sizeof(b));
^
0_0_17639117_21479.cpp: At global scope:
0_0_17639117_21479.cpp:98:11: error: redefinition of 'const int MAXO'
const int MAXO=30;//程序使用的最大矩阵行列数
^
0_0_17639117_21479.cpp:7:11: note: 'const int MAXO' previously defined here
const int MAXO=6;//程序使用的最大矩阵行列数
^
0_0_17639117_21479.cpp:100:5: error: redefinition of 'int n'
int n,m;
^
0_0_17639117_21479.cpp:8:5: note: 'int n' previously declared here
int n,k;
^
0_0_17639117_21479.cpp:102:8: error: redefinition of 'struct Matrix<T>'
struct Matrix
^
0_0_17639117_21479.cpp:11:8: error: previous definition of 'struct Matrix<T>'
struct Matrix
^
0_0_17639117_21479.cpp: In function 'int main()':
0_0_17639117_21479.cpp:143:5: error: redefinition of 'int main()'
int main()
^
0_0_17639117_21479.cpp:52:5: note: 'int main()' previously defined here
int main()
^
|