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_22226082_8910.cpp:10:10: error: 'N' was not declared in this scope
 int book[N+10][N+10],n,m;
          ^
0_0_22226082_8910.cpp:10:16: error: 'N' was not declared in this scope
 int book[N+10][N+10],n,m;
                ^
0_0_22226082_8910.cpp:11:8: error: 'N' was not declared in this scope
 char a[N+10][N+10];
        ^
0_0_22226082_8910.cpp:11:14: error: 'N' was not declared in this scope
 char a[N+10][N+10];
              ^
0_0_22226082_8910.cpp: In function 'void bfs(int, int)':
0_0_22226082_8910.cpp:27:42: error: 'a' was not declared in this scope
             if(tx<0||tx>=n||ty<0||ty>=m||a[tx][ty]=='#') continue;
                                          ^
0_0_22226082_8910.cpp:28:16: error: 'a' was not declared in this scope
             if(a[tx][ty]=='x') time+=1;
                ^
0_0_22226082_8910.cpp:29:22: error: 'book' was not declared in this scope
             if(time>=book[tx][ty]) continue;
                      ^
0_0_22226082_8910.cpp:30:13: error: 'book' was not declared in this scope
             book[tx][ty]=time;
             ^
0_0_22226082_8910.cpp:34:16: error: 'a' was not declared in this scope
             if(a[tx][ty]=='a'){return ;}
                ^
0_0_22226082_8910.cpp: In function 'int main()':
0_0_22226082_8910.cpp:45:24: error: 'a' was not declared in this scope
             scanf("%s",a[i]);
                        ^
0_0_22226082_8910.cpp:50:17: error: 'book' was not declared in this scope
                 book[i][j]=inf;
                 ^
0_0_22226082_8910.cpp:50:28: error: 'inf' was not declared in this scope
                 book[i][j]=inf;
                            ^
0_0_22226082_8910.cpp:57:20: error: 'a' was not declared in this scope
                 if(a[i][j]=='a')
                    ^
0_0_22226082_8910.cpp:61:20: error: 'a' was not declared in this scope
                 if(a[i][j]=='r')
                    ^
0_0_22226082_8910.cpp:67:12: error: 'book' was not declared in this scope
         if(book[xx][yy]==inf)printf("Poor ANGEL has to stay in the prison all his life.\n");
            ^
0_0_22226082_8910.cpp:67:26: error: 'inf' was not declared in this scope
         if(book[xx][yy]==inf)printf("Poor ANGEL has to stay in the prison all his life.\n");
                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-02 00:11:11, Gzip enabled