0_0_18171884_15767.cpp: In function 'int main()': 0_0_18171884_15767.cpp:58:65: error: 'c' was not declared in this scope if(x>=0&&x<n&&y>=0&&y<m&&mat[x][y]==c=s[now.z+1]) ^