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

324616_0_18178.cpp: In function `Matrix pow(Matrix&, int)':
324616_0_18178.cpp:72: error: invalid initialization of non-const reference of type 'Matrix&' from a temporary of type 'Matrix'
324616_0_18178.cpp:68: error: in passing argument 1 of `Matrix pow(Matrix&, int)'
324616_0_18178.cpp:74: error: invalid initialization of non-const reference of type 'Matrix&' from a temporary of type 'Matrix'
324616_0_18178.cpp:68: error: in passing argument 1 of `Matrix pow(Matrix&, int)'
324616_0_18178.cpp: In function `int main()':
324616_0_18178.cpp:101: error: no match for 'operator*' in 'pow(Matrix&, int)((n - 9)) * d'
324616_0_18178.cpp:43: note: candidates are: Matrix operator*(int, Matrix&)
324616_0_18178.cpp:53: note:                 Matrix operator*(Matrix&, Matrix&)


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-27 17:36:12, Gzip enabled