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_14233662_14636.cpp: In function 'void build(int, int, int)':
0_0_14233662_14636.cpp:40:46: error: 'oe' was not declared in this scope
             node[rt].ee = node[rt].eo = node[oe] = inf;
                                              ^
0_0_14233662_14636.cpp:45:46: error: 'oe' was not declared in this scope
             node[rt].eo = node[rt].oo = node[oe].oe = inf;
                                              ^
0_0_14233662_14636.cpp: In function 'void update(int, int, int)':
0_0_14233662_14636.cpp:60:46: error: 'oe' was not declared in this scope
             node[rt].ee = node[rt].eo = node[oe] = inf;
                                              ^
0_0_14233662_14636.cpp:65:46: error: 'oe' was not declared in this scope
             node[rt].eo = node[rt].oo = node[oe].oe = inf;
                                              ^
0_0_14233662_14636.cpp: In function 'Node query(int, int, int)':
0_0_14233662_14636.cpp:94:24: error: 'l' was not declared in this scope
             t1 = query(l, mid, k*2);  
                        ^
0_0_14233662_14636.cpp:94:27: error: 'mid' was not declared in this scope
             t1 = query(l, mid, k*2);  
                           ^
0_0_14233662_14636.cpp:94:32: error: 'k' was not declared in this scope
             t1 = query(l, mid, k*2);  
                                ^
0_0_14233662_14636.cpp:95:33: error: 'r' was not declared in this scope
             t2 = query(mid + 1, r,k*2+1);  
                                 ^
0_0_14233662_14636.cpp: In function 'int main()':
0_0_14233662_14636.cpp:108:34: error: 'n' was not declared in this scope
     while (T-- && scanf("%d%d", &n, &m))
                                  ^
0_0_14233662_14636.cpp:108:38: error: 'm' was not declared in this scope
     while (T-- && scanf("%d%d", &n, &m))
                                      ^


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-07-01 20:09:48, Gzip enabled