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");
^
|