0_0_8688794_14409.cpp: In function `void bfs()': 0_0_8688794_14409.cpp:42: error: `exit' undeclared (first use this function) 0_0_8688794_14409.cpp:42: error: (Each undeclared identifier is reported only once for each function it appears in.)