0_0_38358874_1051.cpp: In function 'bool check(int, int, int)':
0_0_38358874_1051.cpp:15:18: error: 'm' was not declared in this scope
if(x<0||y<0||x>=m||y>=n
^
0_0_38358874_1051.cpp:15:24: error: 'n' was not declared in this scope
if(x<0||y<0||x>=m||y>=n
^
0_0_38358874_1051.cpp:16:3: error: expected ')' before 'g'
g[x][y]!=) return 0;
^
0_0_38358874_1051.cpp: In function 'void change()':
0_0_38358874_1051.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_38358874_1051.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_38358874_1051.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_38358874_1051.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_38358874_1051.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_38358874_1051.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_38358874_1051.cpp: In function 'int main()':
0_0_38358874_1051.cpp:82:13: error: incompatible types in assignment of 'int' to 'int [30]'
vis[x1,y1]=1;
^
|