0_0_21769000_14591.cpp: In function 'int prim(int)': 0_0_21769000_14591.cpp:19:29: error: 'memset' was not declared in this scope memset(vis,0,sizeof(vis)); ^