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