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_37519325_20247.cpp: In function 'void build(int, int, int)':
0_0_37519325_20247.cpp:13:24: error: 'struct node' has no member named 'num'
   scanf("%d",&tree[rt].num);
                        ^
0_0_37519325_20247.cpp:14:15: error: 'struct node' has no member named 'num'
   if(tree[rt].num) tree[rt].l=tree[rt].r=tree[rt].cnt=1;
               ^
0_0_37519325_20247.cpp:21:51: error: expected primary-expression before '|' token
  if(tree[rt<<1|1].r==r-mid+1) tree[rt].r=tree[rt<<|1].r+tree[rt].r;
                                                   ^
0_0_37519325_20247.cpp:23:19: error: 'maxtree' was not declared in this scope
  tree[rt].cnt=max(maxtree[rt].l
                   ^


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-29 20:21:52, Gzip enabled