/in/foo.cc:28:33: error: stray '\357' in program
int ty = a.y + dy[i];
^
/in/foo.cc:28:34: error: stray '\274' in program
int ty = a.y + dy[i];
^
/in/foo.cc:28:35: error: stray '\233' in program
int ty = a.y + dy[i];
^
/in/foo.cc: In function 'int bfs()':
/in/foo.cc:29:13: error: expected ',' or ';' before 'while'
while (tx >= 0 && tx <= h+1 && ty >= 0 && ty <= w+1 && (segnumber[tx][ty] == 0 || segnumber[tx][ty] == a.depth+1)) {
^~~~~
/in/foo.cc:71:1: error: expected '}' at end of input
}
^
/in/foo.cc:27:17: warning: unused variable 'tx' [-Wunused-variable]
int tx = a.x + dx[i];
^~
/in/foo.cc:28:17: warning: unused variable 'ty' [-Wunused-variable]
int ty = a.y + dy[i];
^~
/in/foo.cc:71:1: error: expected '}' at end of input
}
^
/in/foo.cc:71:1: error: expected '}' at end of input
/in/foo.cc:71:1: warning: no return statement in function returning non-void [-Wreturn-type]