0_0_21592691_18657.cpp:30:73: error: stray '#' in program
if( xx>=0 && xx<n && yy>=0 && yy<m && !vis[xx][yy] && map[xx][yy]!='*' )
^
0_0_21592691_18657.cpp:30:79: error: stray '#' in program
if( xx>=0 && xx<n && yy>=0 && yy<m && !vis[xx][yy] && map[xx][yy]!='*' )
^
0_0_21592691_18657.cpp:40:27: error: stray '#' in program
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:40:33: error: stray '#' in program
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:58:31: error: stray '#' in program
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp:58:37: error: stray '#' in program
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp:97:35: error: stray '#' in program
if( map[xx][yy]=='T' )//当到达目的地时输出并退出
^
0_0_21592691_18657.cpp:97:41: error: stray '#' in program
if( map[xx][yy]=='T' )//当到达目的地时输出并退出
^
0_0_21592691_18657.cpp:102:40: error: stray '#' in program
else if( map[xx][yy]=='.' )//遇到空地
^
0_0_21592691_18657.cpp:102:46: error: stray '#' in program
else if( map[xx][yy]=='.' )//遇到空地
^
0_0_21592691_18657.cpp:107:40: error: stray '#' in program
else if( map[xx][yy]=='|' || map[xx][yy]=='-' )//遇到楼梯
^
0_0_21592691_18657.cpp:107:46: error: stray '#' in program
else if( map[xx][yy]=='|' || map[xx][yy]=='-' )//遇到楼梯
^
0_0_21592691_18657.cpp:107:68: error: stray '#' in program
else if( map[xx][yy]=='|' || map[xx][yy]=='-' )//遇到楼梯
^
0_0_21592691_18657.cpp:107:74: error: stray '#' in program
else if( map[xx][yy]=='|' || map[xx][yy]=='-' )//遇到楼梯
^
0_0_21592691_18657.cpp:116:49: error: stray '#' in program
if( map[lou.x][lou.y]=='T' )
^
0_0_21592691_18657.cpp:116:55: error: stray '#' in program
if( map[lou.x][lou.y]=='T' )
^
0_0_21592691_18657.cpp:154:33: error: stray '#' in program
if( map[i][j]=='S' )
^
0_0_21592691_18657.cpp:154:39: error: stray '#' in program
if( map[i][j]=='S' )
^
0_0_21592691_18657.cpp: In function 'bool judge_1(int, int)':
0_0_21592691_18657.cpp:30:74: error: lvalue required as unary '&' operand
if( xx>=0 && xx<n && yy>=0 && yy<m && !vis[xx][yy] && map[xx][yy]!='*' )
^
0_0_21592691_18657.cpp:30:76: error: expected ')' before ';' token
if( xx>=0 && xx<n && yy>=0 && yy<m && !vis[xx][yy] && map[xx][yy]!='*' )
^
0_0_21592691_18657.cpp:30:80: error: lvalue required as unary '&' operand
if( xx>=0 && xx<n && yy>=0 && yy<m && !vis[xx][yy] && map[xx][yy]!='*' )
^
0_0_21592691_18657.cpp:30:84: error: expected primary-expression before ')' token
if( xx>=0 && xx<n && yy>=0 && yy<m && !vis[xx][yy] && map[xx][yy]!='*' )
^
0_0_21592691_18657.cpp:32:5: error: 'else' without a previous 'if'
else
^
0_0_21592691_18657.cpp: In function 'bool judge_2(int, int, int, int, int)':
0_0_21592691_18657.cpp:40:28: error: lvalue required as unary '&' operand
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:40:30: error: expected ')' before ';' token
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:40:31: error: expected primary-expression before '|' token
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:40:34: error: lvalue required as unary '&' operand
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:40:38: error: expected primary-expression before ')' token
if( map[a][b] == '|' )
^
0_0_21592691_18657.cpp:58:9: error: expected '}' before 'else'
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp:58:32: error: lvalue required as unary '&' operand
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp:58:34: error: expected ')' before ';' token
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp:58:38: error: lvalue required as unary '&' operand
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp:58:42: error: expected primary-expression before ')' token
else if( map[a][b] =='-' )//原理同上
^
0_0_21592691_18657.cpp: At global scope:
0_0_21592691_18657.cpp:76:5: error: expected unqualified-id before 'return'
return false;
^
0_0_21592691_18657.cpp:77:1: error: expected declaration before '}' token
}
^
|