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_21171615_3487.cpp: In member function 'Mat Mat::operator*(const Mat&) const':
0_0_21171615_3487.cpp:32:37: error: no match for 'operator[]' (operand types are 'const Mat' and 'int')
           res.a[i][j] += a[i][k] * b[k][j];
                                     ^
0_0_21171615_3487.cpp: In function 'll calc(int, Mat&)':
0_0_21171615_3487.cpp:120:13: error: no match for 'operator[]' (operand types are 'Mat' and 'int')
   ll res = B[1][0] * K;
             ^


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-12-02 22:10:24, Gzip enabled