0_0_25697798_28884.cpp: In function 'void DFS(int, int, int)':
0_0_25697798_28884.cpp:14:13: error: 'n' was not declared in this scope
if(x<0||x>=n||y<0||y>=m)
^
0_0_25697798_28884.cpp:14:24: error: 'm' was not declared in this scope
if(x<0||x>=n||y<0||y>=m)
^
0_0_25697798_28884.cpp:18:24: error: 't' was not declared in this scope
if(x==ex&&y==ey&&time=t)
^
0_0_25697798_28884.cpp:25:13: error: 't' was not declared in this scope
int temp=(t-time)-(abs(x-ex)+abs(y-ey))
^
0_0_25697798_28884.cpp:32:7: error: 'a' was not declared in this scope
if(a[xx][yy]!='X')
^
0_0_25697798_28884.cpp: In function 'int main()':
0_0_25697798_28884.cpp:54:16: error: 'a' was not declared in this scope
cin>>a[i][j];
^
0_0_25697798_28884.cpp:57:11: error: 'else' without a previous 'if'
else if(a[i][j]=='D')
^
0_0_25697798_28884.cpp:59:11: error: 'else' without a previous 'if'
else if(a[i][j]=='X')
^
0_0_25697798_28884.cpp:69:3: error: 'a' was not declared in this scope
a[sx][sy]='X';
^
|