0_0_8569917_24060.cpp: In function `int bfs()': 0_0_8569917_24060.cpp:40: error: `ny' undeclared (first use this function) 0_0_8569917_24060.cpp:40: error: (Each undeclared identifier is reported only once for each function it appears in.)