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_24814755_29023.cpp: In member function 'void HJTree::add(int, int&, int, int)':
0_0_24814755_29023.cpp:22:17: error: 'num' was not declared in this scope
   if(val<=m)add(num,v[rt].lc,l,m);
                 ^
0_0_24814755_29023.cpp:23:12: error: 'num' was not declared in this scope
   else add(num,v[rt].rc,m+1,r);
            ^
0_0_24814755_29023.cpp: In function 'int main()':
0_0_24814755_29023.cpp:42:18: error: 'l' was not declared in this scope
    scanf("%d%d",&l,&r);
                  ^
0_0_24814755_29023.cpp:42:21: error: 'r' was not declared in this scope
    scanf("%d%d",&l,&r);
                     ^


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-09-29 00:22:34, Gzip enabled