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