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