0_0_14720530_15745.cpp: In function 'void bfs(int)': 0_0_14720530_15745.cpp:17:26: error: 'memset' was not declared in this scope memset(vis,0,sizeof(vis)); ^