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_29949861_16074.cpp: In function 'void push_down(int)':
0_0_29949861_16074.cpp:35:27: error: 'lz' was not declared in this scope
         Tree[rt<<1].mx += lz;
                           ^
0_0_29949861_16074.cpp: In function 'void built(int, int, int)':
0_0_29949861_16074.cpp:45:14: error: 'i' was not declared in this scope
         Tree[i].lz = 0;
              ^
0_0_29949861_16074.cpp:51:15: error: expected primary-expression before '|' token
     built(rt<<|1, mid+1, r);
               ^
0_0_29949861_16074.cpp: In function 'int query(int, int, int)':
0_0_29949861_16074.cpp:70:15: error: 'pushdown' was not declared in this scope
     pushdown(o);
               ^
0_0_29949861_16074.cpp:71:8: error: 'tr' was not declared in this scope
     if(tr[ls].mx == c) ans = query(ls, l, mid);
        ^
0_0_29949861_16074.cpp:71:11: error: 'ls' was not declared in this scope
     if(tr[ls].mx == c) ans = query(ls, l, mid);
           ^
0_0_29949861_16074.cpp:72:16: error: 'rs' was not declared in this scope
     else if(tr[rs].mx == c) ans = query(rs, mid + 1, r);
                ^
0_0_29949861_16074.cpp: In function 'int main()':
0_0_29949861_16074.cpp:95:43: error: too few arguments to function 'void update(int, int, int, int, int, int)'
             update(1,1,n,pos[a[i]][now[i]])
                                           ^
0_0_29949861_16074.cpp:54:6: note: declared here
 void update(int rt, int l, int r, int a, int b, int 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-07-07 14:49:40, Gzip enabled