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