0_0_21594459_9037.cpp:30:18: error: stray '#' in program
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:30:22: error: stray '#' in program
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:30:24: error: stray '#' in program
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:96:30: error: stray '#' in program
if(A[i][j]=='@'){
^
0_0_21594459_9037.cpp:96:34: error: stray '@' in program
if(A[i][j]=='@'){
^
0_0_21594459_9037.cpp:96:36: error: stray '#' in program
if(A[i][j]=='@'){
^
0_0_21594459_9037.cpp: In function 'bool cango(int, int)':
0_0_21594459_9037.cpp:30:19: error: lvalue required as unary '&' operand
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:30:21: error: expected ')' before ';' token
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:30:25: error: lvalue required as unary '&' operand
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:30:50: error: expected ';' before ')' token
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp:33:5: error: 'else' without a previous 'if'
else return 0;
^
0_0_21594459_9037.cpp:30:30: error: label 'x' used but not defined
if(A[x][y]!='#'&&x>0&&x<=N&&y>0&&y<=M){
^
0_0_21594459_9037.cpp: In function 'int main()':
0_0_21594459_9037.cpp:96:31: error: lvalue required as unary '&' operand
if(A[i][j]=='@'){
^
0_0_21594459_9037.cpp:96:33: error: expected ')' before ';' token
if(A[i][j]=='@'){
^
0_0_21594459_9037.cpp:96:37: error: lvalue required as unary '&' operand
if(A[i][j]=='@'){
^
0_0_21594459_9037.cpp:96:40: error: expected primary-expression before ')' token
if(A[i][j]=='@'){
^
|