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_33321166_31496.cpp: In function 'void ask(int, int, int, int)':
0_0_33321166_31496.cpp:54:53: error: 'query1' was not declared in this scope
   if (tree[lson].Max > val) query1(lson, l, mid, val);
                                                     ^
0_0_33321166_31496.cpp:55:62: error: 'query1' was not declared in this scope
   else if (tree[rson].Max > val) query1(rson, mid + 1, r, val);
                                                              ^
0_0_33321166_31496.cpp:58:38: error: 'query1' was not declared in this scope
  if (r <= mid) query1(lson, l, r, val);
                                      ^
0_0_33321166_31496.cpp:59:42: error: 'query1' was not declared in this scope
  else if (l > mid) query1(rson, l, r, val);
                                          ^
0_0_33321166_31496.cpp:61:27: error: 'query1' was not declared in this scope
   query1(lson, l, mid, val);
                           ^


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-04 23:21:06, Gzip enabled