Compile Error
/in/foo.cc: In function 'void bfs(int, int)': /in/foo.cc:17:16: error: invalid conversion from 'int*' to 'int' [-fpermissive] tx=hx+nexx[i][0]; ~~^~~~~~~~~~~ /in/foo.cc:18:16: error: invalid conversion from 'int*' to 'int' [-fpermissive] ty=hy+nexx[i][1]; ~~^~~~~~~~~~~