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_13806807_11577.cpp: In function 'void build(int, int, int)':
0_0_13806807_11577.cpp:43:1: error: 'intmid' was not declared in this scope
 intmid=(lt+rt)/2;
 ^
0_0_13806807_11577.cpp:60:10: error: 'mid' was not declared in this scope
 build(lt,mid,2*v);
          ^
0_0_13806807_11577.cpp: In function 'void update(int, int, int, int)':
0_0_13806807_11577.cpp:73:1: error: 'intmid' was not declared in this scope
 intmid=(d[v].b+d[v].e)/2;
 ^
0_0_13806807_11577.cpp:86:8: error: 'mid' was not declared in this scope
 if(rt<=mid)    
        ^
0_0_13806807_11577.cpp: In function 'int query(int, int, int)':
0_0_13806807_11577.cpp:113:1: error: 'intmid' was not declared in this scope
 intmid=(d[v].b+d[v].e)/2;
 ^
0_0_13806807_11577.cpp:120:8: error: 'mid' was not declared in this scope
 if(rt<=mid)   
        ^
0_0_13806807_11577.cpp:121:22: error: 'returnquery' was not declared in this scope
 returnquery(lt,rt,2*v);
                      ^


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-27 00:46:24, Gzip enabled