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_24829488_29584.cpp: In function 'void seg_tr(int, int, int, int, Matrix&)':
0_0_24829488_29584.cpp:71:13: error: no match for 'operator==' (operand types are 'Matrix' and 'Matrix')
 if(!(tr[rt] == I)) {
             ^
0_0_24829488_29584.cpp: In function 'Matrix& seg_que(int, int, int)':
0_0_24829488_29584.cpp:85:13: error: no match for 'operator==' (operand types are 'Matrix' and 'Matrix')
 if(!(tr[rt] == I)) {
             ^
0_0_24829488_29584.cpp: In function 'int main()':
0_0_24829488_29584.cpp:222:24: error: invalid initialization of non-const reference of type 'Matrix&' from an rvalue of type 'bool'
 seg_tr(1, n, l, r, tmp = Translation(x, y, z));
                        ^
0_0_24829488_29584.cpp:64:6: note: in passing argument 5 of 'void seg_tr(int, int, int, int, Matrix&)'
 void seg_tr(int L, int R, int l, int r, Matrix &prd) {
      ^
0_0_24829488_29584.cpp:239:24: error: invalid initialization of non-const reference of type 'Matrix&' from an rvalue of type 'bool'
 seg_tr(1, n, l, r, tmp = Scaling(x, y, z, k));
                        ^
0_0_24829488_29584.cpp:64:6: note: in passing argument 5 of 'void seg_tr(int, int, int, int, Matrix&)'
 void seg_tr(int L, int R, int l, int r, Matrix &prd) {
      ^
0_0_24829488_29584.cpp:258:24: error: invalid initialization of non-const reference of type 'Matrix&' from an rvalue of type 'bool'
 seg_tr(1, n, l, r, tmp = Rotation(x, y, z, dx, dy, dz, theta));
                        ^
0_0_24829488_29584.cpp:64:6: note: in passing argument 5 of 'void seg_tr(int, int, int, int, Matrix&)'
 void seg_tr(int L, int R, int l, int r, Matrix &prd) {
      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 11:35:48, Gzip enabled