0_0_20765705_29949.cpp: In function 'void sieve(int)': 0_0_20765705_29949.cpp:12:26: error: 'memset' was not declared in this scope memset(vis,0,sizeof(vis)); ^