0_0_32047943_30629.cpp:21:1: error: 'MatrixP' does not name a type
MatrixP={1,1,0,0,
^
0_0_32047943_30629.cpp:29:1: error: 'MatrixI' does not name a type
MatrixI={1,0,0,0,
^
0_0_32047943_30629.cpp: In function 'int Matrixmatrixmul(Matrix, Matrix)':
0_0_32047943_30629.cpp:61:14: error: cannot convert 'Matrix' to 'int' in return
return c;
^
0_0_32047943_30629.cpp: In function 'Matrix quickpow(long long int)':
0_0_32047943_30629.cpp:71:18: error: 'P' was not declared in this scope
Matrix m = P, b = I;
^
0_0_32047943_30629.cpp:79:17: error: 'b' was not declared in this scope
b = matrixmul(b,m);
^
0_0_32047943_30629.cpp:79:34: error: 'matrixmul' was not declared in this scope
b = matrixmul(b,m);
^
0_0_32047943_30629.cpp:83:30: error: 'matrixmul' was not declared in this scope
m =matrixmul(m,m);
^
0_0_32047943_30629.cpp:87:14: error: 'b' was not declared in this scope
return b;
^
0_0_32047943_30629.cpp: In function 'int main()':
0_0_32047943_30629.cpp:103:1: error: expected primary-expression before '/' token
/ while(cin>>n>>x>>y)
^
0_0_32047943_30629.cpp:103:6: error: expected primary-expression before 'while'
/ while(cin>>n>>x>>y)
^
|