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