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