0_0_29604689_10405.cpp: In function 'int main()': 0_0_29604689_10405.cpp:53:27: error: 'memset' was not declared in this scope memset(vis,0,sizeof(vis)); ^