0_0_18623140_20841.cpp: In function 'void BFS2()': 0_0_18623140_20841.cpp:96:35: error: 'temp' was not declared in this scope g[next.x][next.y]=temp; ^