F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
                                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 14:44:50, Gzip enabled