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_25451360_22039.cpp:5:12: error: expected primary-expression before ']' token
 int b[maxn*];
            ^
0_0_25451360_22039.cpp: In function 'void build(int, int, int)':
0_0_25451360_22039.cpp:11:7: error: 'b' was not declared in this scope
       b[in]=a[l];
       ^
0_0_25451360_22039.cpp:17:4: error: 'b' was not declared in this scope
    b[in]=min(b[in*2],b[in*2+1]);
    ^
0_0_25451360_22039.cpp: In function 'void up(int, int, int, int, int)':
0_0_25451360_22039.cpp:23:8: error: 'b' was not declared in this scope
        b[in]--;
        ^
0_0_25451360_22039.cpp:29:8: error: 'b' was not declared in this scope
        b[in*2]-=lz[in];
        ^
0_0_25451360_22039.cpp:43:4: error: 'b' was not declared in this scope
    b[in]=min(b[in*2],b[in*2+1]);
    ^
0_0_25451360_22039.cpp: In function 'void uup(int, int, int)':
0_0_25451360_22039.cpp:60:7: error: 'b' was not declared in this scope
       b[in]=a[l];
       ^
0_0_25451360_22039.cpp:67:8: error: 'b' was not declared in this scope
        b[in*2]-=lz[in],
        ^
0_0_25451360_22039.cpp:72:8: error: 'b' was not declared in this scope
    if(!b[in*2]){
        ^
0_0_25451360_22039.cpp:75:8: error: 'b' was not declared in this scope
    if(!b[in*2+1]){
        ^
0_0_25451360_22039.cpp:78:4: error: 'b' was not declared in this scope
    b[in]=min(b[in*2],b[in*2+1]);
    ^
0_0_25451360_22039.cpp: In function 'int main()':
0_0_25451360_22039.cpp:97:13: error: 'b' was not declared in this scope
      memset(b,0,sizeof(b));
             ^


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-06-26 16:00:27, Gzip enabled