0_0_13980856_10163.cpp: In function 'void Bfs()': 0_0_13980856_10163.cpp:24:40: error: 'memset' was not declared in this scope memset(visited, 0, sizeof(visited)); ^