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_27291995_23007.cpp: In function 'long long int query(int, int, int, int, int)':
0_0_27291995_23007.cpp:134:22: error: 'x' was not declared in this scope
         return query(x,y,k*2,a,b);
                      ^
0_0_27291995_23007.cpp:134:24: error: 'y' was not declared in this scope
         return query(x,y,k*2,a,b);
                        ^
0_0_27291995_23007.cpp:134:32: error: 'b' was not declared in this scope
         return query(x,y,k*2,a,b);
                                ^
0_0_27291995_23007.cpp:136:22: error: 'x' was not declared in this scope
         return query(x,y,k*2+1,a,b);
                      ^
0_0_27291995_23007.cpp:136:24: error: 'y' was not declared in this scope
         return query(x,y,k*2+1,a,b);
                        ^
0_0_27291995_23007.cpp:136:34: error: 'b' was not declared in this scope
         return query(x,y,k*2+1,a,b);
                                  ^
0_0_27291995_23007.cpp:138:22: error: 'x' was not declared in this scope
         return query(x,mid,k*2,a,b)+query(mid+1,y,k*2+1,a,b);
                      ^
0_0_27291995_23007.cpp:138:34: error: 'b' was not declared in this scope
         return query(x,mid,k*2,a,b)+query(mid+1,y,k*2+1,a,b);
                                  ^
0_0_27291995_23007.cpp:138:49: error: 'y' was not declared in this scope
         return query(x,mid,k*2,a,b)+query(mid+1,y,k*2+1,a,b);
                                                 ^


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:31:15, Gzip enabled