0_0_18940820_27638.cpp: In function 'int bfs(int, int)': 0_0_18940820_27638.cpp:45:28: error: 'memset' was not declared in this scope memset(vis, 0, sizeof(vis)); ^