0_0_38358892_30987.cpp: In function 'bool check(int, int)':
0_0_38358892_30987.cpp:15:18: error: 'm' was not declared in this scope
if(x<0||y<0||x>=m||y>=n
^
0_0_38358892_30987.cpp:15:24: error: 'n' was not declared in this scope
if(x<0||y<0||x>=m||y>=n
^
0_0_38358892_30987.cpp:16:3: error: expected ')' before 'g'
g[x][y]!='.') return 0;
^
0_0_38358892_30987.cpp: In function 'void change()':
0_0_38358892_30987.cpp:21:9: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
^
0_0_38358892_30987.cpp:21:15: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
^
0_0_38358892_30987.cpp:21:29: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
^
0_0_38358892_30987.cpp:21:35: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
if(g[i[0]][i[1]]=='|') g[i[0]][i[1]]='-';
^
0_0_38358892_30987.cpp:22:11: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
else g[i[0]][i[1]]='|';
^
0_0_38358892_30987.cpp:22:17: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
else g[i[0]][i[1]]='|';
^
0_0_38358892_30987.cpp: In function 'void bfs(int, int)':
0_0_38358892_30987.cpp:50:4: error: expected primary-expression before '}' token
}
^
|