0_0_29470535_27754.cpp:3:5: error: 'LL' does not name a type
LL ma[2][2];
^
0_0_29470535_27754.cpp:6:1: error: 'LL' does not name a type
LL nn[20],xx[20];
^
0_0_29470535_27754.cpp: In function 'matrix operator*(matrix, matrix)':
0_0_29470535_27754.cpp:10:17: error: 'struct matrix' has no member named 'ma'
memset(temp.ma,0,sizeof(temp.ma));
^
0_0_29470535_27754.cpp:10:34: error: 'struct matrix' has no member named 'ma'
memset(temp.ma,0,sizeof(temp.ma));
^
0_0_29470535_27754.cpp:10:37: error: 'memset' was not declared in this scope
memset(temp.ma,0,sizeof(temp.ma));
^
0_0_29470535_27754.cpp:14:22: error: 'struct matrix' has no member named 'ma'
temp.ma[i][j] = temp.ma[i][j] + (a.ma[k][i] * b.ma[j][n-k-1]);
^
0_0_29470535_27754.cpp:14:38: error: 'struct matrix' has no member named 'ma'
temp.ma[i][j] = temp.ma[i][j] + (a.ma[k][i] * b.ma[j][n-k-1]);
^
0_0_29470535_27754.cpp:14:52: error: 'struct matrix' has no member named 'ma'
temp.ma[i][j] = temp.ma[i][j] + (a.ma[k][i] * b.ma[j][n-k-1]);
^
0_0_29470535_27754.cpp:14:65: error: 'struct matrix' has no member named 'ma'
temp.ma[i][j] = temp.ma[i][j] + (a.ma[k][i] * b.ma[j][n-k-1]);
^
0_0_29470535_27754.cpp: In function 'matrix operator+(matrix, matrix)':
0_0_29470535_27754.cpp:21:15: error: 'struct matrix' has no member named 'ma'
a.ma[i][j] = (a.ma[i][j] + b.ma[i][j]) ;
^
0_0_29470535_27754.cpp:21:29: error: 'struct matrix' has no member named 'ma'
a.ma[i][j] = (a.ma[i][j] + b.ma[i][j]) ;
^
0_0_29470535_27754.cpp:21:42: error: 'struct matrix' has no member named 'ma'
a.ma[i][j] = (a.ma[i][j] + b.ma[i][j]) ;
^
0_0_29470535_27754.cpp: In function 'void init()':
0_0_29470535_27754.cpp:27:7: error: 'struct matrix' has no member named 'ma'
a.ma[0][0] = 1;
^
0_0_29470535_27754.cpp:28:7: error: 'struct matrix' has no member named 'ma'
a.ma[0][1] = 7;
^
0_0_29470535_27754.cpp:29:7: error: 'struct matrix' has no member named 'ma'
a.ma[1][0] = 7;
^
0_0_29470535_27754.cpp:30:7: error: 'struct matrix' has no member named 'ma'
a.ma[1][1] = 48;
^
0_0_29470535_27754.cpp:32:5: error: 'nn' was not declared in this scope
nn[0] = 1;
^
0_0_29470535_27754.cpp:33:5: error: 'xx' was not declared in this scope
xx[0] = 1;
^
0_0_29470535_27754.cpp:39:13: error: 'LL' was not declared in this scope
LL s1 = temp.ma[0][1] * 7 + temp.ma[1][1] * 1;
^
0_0_29470535_27754.cpp:40:24: error: 's1' was not declared in this scope
nn[cnt] = (s1 - 3) / 4;
^
0_0_29470535_27754.cpp:41:16: error: expected ';' before 's2'
LL s2 = temp.ma[0][0] * 7 + temp.ma[1][0] * 1;
^
0_0_29470535_27754.cpp:42:25: error: 's2' was not declared in this scope
xx[cnt++] = s2;
^
0_0_29470535_27754.cpp: In function 'int main()':
0_0_29470535_27754.cpp:50:5: error: 'LL' was not declared in this scope
LL N;
^
0_0_29470535_27754.cpp:51:11: error: 'cin' was not declared in this scope
while(cin>>N && N)
^
0_0_29470535_27754.cpp:51:16: error: 'N' was not declared in this scope
while(cin>>N && N)
^
0_0_29470535_27754.cpp:55:21: error: 'nn' was not declared in this scope
if(N >= nn[i])
^
0_0_29470535_27754.cpp:57:17: error: 'cout' was not declared in this scope
cout<<nn[i]<<" "<<xx[i]<<endl;
^
0_0_29470535_27754.cpp:57:35: error: 'xx' was not declared in this scope
cout<<nn[i]<<" "<<xx[i]<<endl;
^
0_0_29470535_27754.cpp:57:42: error: 'endl' was not declared in this scope
cout<<nn[i]<<" "<<xx[i]<<endl;
^
|