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_33763173_3603.cpp: In member function 'void Nx::build(int, int, int)':
0_0_33763173_3603.cpp:38:21: error: 'lson' was not declared in this scope
         build(l,mid,lson);
                     ^
0_0_33763173_3603.cpp:39:25: error: 'rson' was not declared in this scope
         build(mid + 1,r,rson);
                         ^
0_0_33763173_3603.cpp: In member function 'int Nx::queryMax(int, int, int)':
0_0_33763173_3603.cpp:48:40: error: 'lson' was not declared in this scope
             ret = max(ret,queryMax(L,R,lson));
                                        ^
0_0_33763173_3603.cpp:50:40: error: 'rson' was not declared in this scope
             ret = max(ret,queryMax(L,R,rson));
                                        ^
0_0_33763173_3603.cpp: In member function 'int Nx::queryMin(int, int, int)':
0_0_33763173_3603.cpp:60:40: error: 'lson' was not declared in this scope
             ret = min(ret,queryMin(L,R,lson));
                                        ^
0_0_33763173_3603.cpp:62:40: error: 'rson' was not declared in this scope
             ret = min(ret,queryMin(L,R,rson));
                                        ^
0_0_33763173_3603.cpp: In function 'void build(int, int, int)':
0_0_33763173_3603.cpp:77:17: error: 'lson' was not declared in this scope
     build(l,mid,lson);
                 ^
0_0_33763173_3603.cpp:78:21: error: 'rson' was not declared in this scope
     build(mid + 1,r,rson);
                     ^
0_0_33763173_3603.cpp: In function 'int queryMax(int, int, int, int, int)':
0_0_33763173_3603.cpp:89:44: error: 'lson' was not declared in this scope
         ret = max(ret,queryMax(x1,x2,y1,y2,lson));
                                            ^
0_0_33763173_3603.cpp:91:44: error: 'rson' was not declared in this scope
         ret = max(ret,queryMax(x1,x2,y1,y2,rson));
                                            ^
0_0_33763173_3603.cpp: In function 'int queryMin(int, int, int, int, int)':
0_0_33763173_3603.cpp:103:44: error: 'lson' was not declared in this scope
         ret = min(ret,queryMin(x1,x2,y1,y2,lson));
                                            ^
0_0_33763173_3603.cpp:105:44: error: 'rson' was not declared in this scope
         ret = min(ret,queryMin(x1,x2,y1,y2,rson));
                                            ^


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-16 08:57:18, Gzip enabled