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