0_0_29915558_22736.cpp: In function 'void bfs()': 0_0_29915558_22736.cpp:48:29: error: 'memset' was not declared in this scope memset(vis,0,sizeof(vis)); ^