0_0_28248848_19402.cpp:21:3: error: 'a' does not name a type
} a,b;
^
0_0_28248848_19402.cpp:52:1: error: expected '}' at end of input
}
^
0_0_28248848_19402.cpp: In member function 'mat mat::pow(int)':
0_0_28248848_19402.cpp:23:10: error: 'b' was not declared in this scope
mat res=b,A=a;
^
0_0_28248848_19402.cpp:25:14: error: 'A' was not declared in this scope
if(x&1)res=A*res;
^
0_0_28248848_19402.cpp:26:3: error: 'A' was not declared in this scope
A=A*A;
^
0_0_28248848_19402.cpp: In member function 'int mat::main()':
0_0_28248848_19402.cpp:41:8: error: request for member 'a' in '((mat*)this)->mat::a', which is of non-class type 'int [72][72]'
a.a[B][A]=1;
^
0_0_28248848_19402.cpp:45:28: error: request for member 'a' in '((mat*)this)->mat::a', which is of non-class type 'int [72][72]'
for(int i=1; i<=9; i++)a.a[71][i+1]=1;
^
0_0_28248848_19402.cpp:46:5: error: request for member 'a' in '((mat*)this)->mat::a', which is of non-class type 'int [72][72]'
a.a[71][71]=1;
^
0_0_28248848_19402.cpp:47:26: error: 'b' was not declared in this scope
for(int i=0; i<=9; i++)b.a[(i%7)*10+i+1][1]=1;
^
0_0_28248848_19402.cpp:48:5: error: request for member 'x' in '((mat*)this)->mat::a', which is of non-class type 'int [72][72]'
a.x=a.y=b.x=71,b.y=1;
^
0_0_28248848_19402.cpp:48:9: error: request for member 'y' in '((mat*)this)->mat::a', which is of non-class type 'int [72][72]'
a.x=a.y=b.x=71,b.y=1;
^
0_0_28248848_19402.cpp:48:11: error: 'b' was not declared in this scope
a.x=a.y=b.x=71,b.y=1;
^
0_0_28248848_19402.cpp: At global scope:
0_0_28248848_19402.cpp:52:1: error: expected unqualified-id at end of input
}
^
|