0_0_15341434_2821.cpp: In function 'int main()':
0_0_15341434_2821.cpp:69:4: error: request for member 'num' in 'T', which is of non-class type 'int'
T.num[0][0] = a; T.num[0][1] = 1;
^
0_0_15341434_2821.cpp:69:21: error: request for member 'num' in 'T', which is of non-class type 'int'
T.num[0][0] = a; T.num[0][1] = 1;
^
0_0_15341434_2821.cpp:70:4: error: request for member 'num' in 'T', which is of non-class type 'int'
T.num[1][0] = b; T.num[1][1] = 0;
^
0_0_15341434_2821.cpp:70:21: error: request for member 'num' in 'T', which is of non-class type 'int'
T.num[1][0] = b; T.num[1][1] = 0;
^
0_0_15341434_2821.cpp:75:32: error: could not convert 'T' from 'int' to '_matrix'
_matrix ans = qpow(T, n - 2, p);
^
0_0_15341434_2821.cpp:77:15: error: 'A2' was not declared in this scope
cout << (mul(A2, ans.num[0][0], p) + mul(A1, ans.num[1][0], p)) % p << endl;
^
0_0_15341434_2821.cpp:77:43: error: 'A1' was not declared in this scope
cout << (mul(A2, ans.num[0][0], p) + mul(A1, ans.num[1][0], p)) % p << endl;
^
|