0_0_21600354_5069.cpp:29:38: error: stray '#' in program
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp:29:42: error: stray '#' in program
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp:29:44: error: stray '#' in program
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp:74:32: error: stray '#' in program
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:38: error: stray '#' in program
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:56: error: stray '#' in program
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:62: error: stray '#' in program
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp: In function 'int bfs(int, int, int, int)':
0_0_21600354_5069.cpp:29:39: error: lvalue required as unary '&' operand
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp:29:41: error: expected ')' before ';' token
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp:29:45: error: lvalue required as unary '&' operand
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp:29:48: error: expected primary-expression before '||' token
if(str[next.x][next.y]=='#'||visit[next.x][next.y]==1) continue;
^
0_0_21600354_5069.cpp: In function 'int main()':
0_0_21600354_5069.cpp:74:33: error: lvalue required as unary '&' operand
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:35: error: expected ')' before ';' token
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:36: error: 'S' was not declared in this scope
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:42: error: expected primary-expression before '||' token
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:57: error: lvalue required as unary '&' operand
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:60: error: 'A' was not declared in this scope
if(str[i][j]=='S'||str[i][j]=='A'){
^
0_0_21600354_5069.cpp:74:66: error: expected primary-expression before ')' token
if(str[i][j]=='S'||str[i][j]=='A'){
^
|