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_23191734_11072.cpp:55:1: error: expected initializer before 'int'
 int[MAX],place[MAX],dell[MAX],delr[MAX];
 ^
0_0_23191734_11072.cpp: In function 'int main()':
0_0_23191734_11072.cpp:99:38: error: 'dell' was not declared in this scope
                     for(j=l;j<=r;++j)dell[j]=l,delr[j]=r;
                                      ^
0_0_23191734_11072.cpp:99:48: error: 'delr' was not declared in this scope
                     for(j=l;j<=r;++j)dell[j]=l,delr[j]=r;
                                                ^
0_0_23191734_11072.cpp:108:21: error: 'po' was not declared in this scope
                     po
                     ^
0_0_23191734_11072.cpp:111:21: error: 'place' was not declared in this scope
                     place[j-sum]=j;
                     ^
0_0_23191734_11072.cpp:128:26: error: 'dell' was not declared in this scope
         for(j=l;j<=r;++j)dell[j]=l,delr[j]=r;
                          ^
0_0_23191734_11072.cpp:128:36: error: 'delr' was not declared in this scope
         for(j=l;j<=r;++j)dell[j]=l,delr[j]=r;
                                    ^
0_0_23191734_11072.cpp:137:9: error: 'po' was not declared in this scope
         po
         ^
0_0_23191734_11072.cpp:140:9: error: 'place' was not declared in this scope
         place[j-sum]=j;
         ^
0_0_23191734_11072.cpp:144:7: error: 'po' was not declared in this scope
     n=po
       ^
0_0_23191734_11072.cpp:160:12: error: 'point' was not declared in this scope
         if(point[q[i].l])q[i].l=po
            ^
0_0_23191734_11072.cpp:166:12: error: 'point' was not declared in this scope
         if(point[q[i].r])
            ^
0_0_23191734_11072.cpp:192:37: error: 'place' was not declared in this scope
         if(mustcan[i])ans[++ans[0]]=place[i];
                                     ^
0_0_23191734_11072.cpp:212:40: error: 'place' was not declared in this scope
                 for(j=l;j<=r;++j)hash1[place[j]]=1;
                                        ^
0_0_23191734_11072.cpp:231:15: error: 'place' was not declared in this scope
         hash1[place[j]]=1;
               ^
0_0_23191734_11072.cpp:343:27: error: 'place' was not declared in this scope
             ans[++ans[0]]=place[q[now].r];
                           ^


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-30 05:45:46, Gzip enabled