0_0_18339625_7865.cpp: In function 'void sear(int, int)':
0_0_18339625_7865.cpp:46:35: error: 'x' was not declared in this scope
if(f[tx][ty]!='.') mp[x][y]=-1;
^
0_0_18339625_7865.cpp:46:38: error: 'y' was not declared in this scope
if(f[tx][ty]!='.') mp[x][y]=-1;
^
0_0_18339625_7865.cpp: In function 'void solve()':
0_0_18339625_7865.cpp:56:24: error: 'r' was not declared in this scope
for(int i=1;i<=r;i++) for(int j=1;j<=l;j++) sear(i,j);
^
0_0_18339625_7865.cpp:56:48: error: 'l' was not declared in this scope
for(int i=1;i<=r;i++) for(int j=1;j<=l;j++) sear(i,j);
^
0_0_18339625_7865.cpp: In function 'int main()':
0_0_18339625_7865.cpp:76:27: error: 'cnt' was not declared in this scope
anc[++cnt]=k;
^
|