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