0_0_20899149_15058.cpp: In function 'int main()': 0_0_20899149_15058.cpp:21:38: error: 'memset' was not declared in this scope memset(a,0,500000*sizeof(int)); ^