0_0_32715373_19550.cpp: In function 'int main()': 0_0_32715373_19550.cpp:27:29: error: 'memset' was not declared in this scope memset(vis, 0, sizeof(vis)); // memset(x,y,sizeof(x)) ^