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_28213352_10547.cpp: In function 'void push_up(int)':
0_0_28213352_10547.cpp:13:52: error: expected primary-expression before '|' token
  tree[rt].minB = min(tree[rt << 1].minB,tree[rt << | 1].minB);
                                                    ^
0_0_28213352_10547.cpp:14:52: error: expected primary-expression before '|' token
  tree[rt].maxA = max(tree[rt << 1].maxA,tree[rt << | 1].maxA);
                                                    ^
0_0_28213352_10547.cpp: In function 'void update_interval(int, int, int)':
0_0_28213352_10547.cpp:60:30: error: 'updata_interval' was not declared in this scope
   updata_interval(l,r,rt << 1);
                              ^
0_0_28213352_10547.cpp:63:34: error: 'updata_interval' was not declared in this scope
   updata_interval(l,r,rt << 1 | 1);
                                  ^
0_0_28213352_10547.cpp: In function 'int query_interval(int, int, int)':
0_0_28213352_10547.cpp:79:27: error: 't' was not declared in this scope
   ans += query_interval(l,t,rt << 1 | 1);
                           ^


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-17 08:35:12, Gzip enabled