0_0_6262368_21938.cpp: In function `void BFS()': 0_0_6262368_21938.cpp:27: error: `result' undeclared (first use this function) 0_0_6262368_21938.cpp:27: error: (Each undeclared identifier is reported only once for each function it appears in.)