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