0_0_21596261_11265.cpp:19:10: error: stray '#' in program
top = 'r';
^
0_0_21596261_11265.cpp:19:16: error: stray '#' in program
top = 'r';
^
0_0_21596261_11265.cpp:20:13: error: stray '#' in program
bottom = 'c';
^
0_0_21596261_11265.cpp:20:19: error: stray '#' in program
bottom = 'c';
^
0_0_21596261_11265.cpp:21:12: error: stray '#' in program
front = 'm';
^
0_0_21596261_11265.cpp:21:18: error: stray '#' in program
front = 'm';
^
0_0_21596261_11265.cpp:22:11: error: stray '#' in program
back = 'g';
^
0_0_21596261_11265.cpp:22:17: error: stray '#' in program
back = 'g';
^
0_0_21596261_11265.cpp:23:11: error: stray '#' in program
left = 'y';
^
0_0_21596261_11265.cpp:23:17: error: stray '#' in program
left = 'y';
^
0_0_21596261_11265.cpp:24:12: error: stray '#' in program
right = 'b';
^
0_0_21596261_11265.cpp:24:18: error: stray '#' in program
right = 'b';
^
0_0_21596261_11265.cpp:58:67: error: stray '#' in program
return (x >= 0 && x < n && y >= 0 && y < m && (surface[x][y] != 'k'));
^
0_0_21596261_11265.cpp:58:73: error: stray '#' in program
return (x >= 0 && x < n && y >= 0 && y < m && (surface[x][y] != 'k'));
^
0_0_21596261_11265.cpp:77:28: error: stray '#' in program
if (surface[nx][ny] != 'w') {
^
0_0_21596261_11265.cpp:77:34: error: stray '#' in program
if (surface[nx][ny] != 'w') {
^
0_0_21596261_11265.cpp:101:27: error: stray '#' in program
if (surface[i][j] == '#') {
^
0_0_21596261_11265.cpp:101:31: error: stray '#' in program
if (surface[i][j] == '#') {
^
0_0_21596261_11265.cpp:101:33: error: stray '#' in program
if (surface[i][j] == '#') {
^
0_0_21596261_11265.cpp:104:23: error: stray '#' in program
surface[i][j] = 'w';
^
0_0_21596261_11265.cpp:104:29: error: stray '#' in program
surface[i][j] = 'w';
^
0_0_21596261_11265.cpp: In constructor 'Node::Node()':
0_0_21596261_11265.cpp:19:11: error: lvalue required as unary '&' operand
top = 'r';
^
0_0_21596261_11265.cpp:19:14: error: 'r' was not declared in this scope
top = 'r';
^
0_0_21596261_11265.cpp:20:14: error: lvalue required as unary '&' operand
bottom = 'c';
^
0_0_21596261_11265.cpp:20:17: error: 'c' was not declared in this scope
bottom = 'c';
^
0_0_21596261_11265.cpp:21:13: error: lvalue required as unary '&' operand
front = 'm';
^
0_0_21596261_11265.cpp:21:16: error: 'm' was not declared in this scope
front = 'm';
^
0_0_21596261_11265.cpp:22:12: error: lvalue required as unary '&' operand
back = 'g';
^
0_0_21596261_11265.cpp:22:15: error: 'g' was not declared in this scope
back = 'g';
^
0_0_21596261_11265.cpp:23:12: error: lvalue required as unary '&' operand
left = 'y';
^
0_0_21596261_11265.cpp:24:13: error: lvalue required as unary '&' operand
right = 'b';
^
0_0_21596261_11265.cpp:24:16: error: 'b' was not declared in this scope
right = 'b';
^
0_0_21596261_11265.cpp: In function 'bool check(int, int)':
0_0_21596261_11265.cpp:58:68: error: lvalue required as unary '&' operand
return (x >= 0 && x < n && y >= 0 && y < m && (surface[x][y] != 'k'));
^
0_0_21596261_11265.cpp:58:70: error: expected ')' before ';' token
return (x >= 0 && x < n && y >= 0 && y < m && (surface[x][y] != 'k'));
^
0_0_21596261_11265.cpp:58:70: error: expected ')' before ';' token
0_0_21596261_11265.cpp:58:71: error: 'k' was not declared in this scope
return (x >= 0 && x < n && y >= 0 && y < m && (surface[x][y] != 'k'));
^
0_0_21596261_11265.cpp:58:77: error: expected primary-expression before ')' token
return (x >= 0 && x < n && y >= 0 && y < m && (surface[x][y] != 'k'));
^
0_0_21596261_11265.cpp: In function 'int bfs()':
0_0_21596261_11265.cpp:77:29: error: lvalue required as unary '&' operand
if (surface[nx][ny] != 'w') {
^
0_0_21596261_11265.cpp:77:31: error: expected ')' before ';' token
if (surface[nx][ny] != 'w') {
^
0_0_21596261_11265.cpp:77:32: error: 'w' was not declared in this scope
if (surface[nx][ny] != 'w') {
^
0_0_21596261_11265.cpp:77:38: error: expected primary-expression before ')' token
if (surface[nx][ny] != 'w') {
^
0_0_21596261_11265.cpp: In function 'int main()':
0_0_21596261_11265.cpp:101:28: error: lvalue required as unary '&' operand
if (surface[i][j] == '#') {
^
0_0_21596261_11265.cpp:101:30: error: expected ')' before ';' token
if (surface[i][j] == '#') {
^
0_0_21596261_11265.cpp:101:34: error: lvalue required as unary '&' operand
if (surface[i][j] == '#') {
^
0_0_21596261_11265.cpp:101:37: error: expected primary-expression before ')' token
if (surface[i][j] == '#') {
^
|