0_0_23982750_16575.cpp: In function 'void bfs()':
0_0_23982750_16575.cpp:42:8: error: 'visited' was not declared in this scope
if(visited[u.x][u.y]) continue;
^
0_0_23982750_16575.cpp: In function 'int main()':
0_0_23982750_16575.cpp:72:10: error: 'visited' was not declared in this scope
memset(visited,0,sizeof(visited));
^
|