0_0_14046630_79.cpp: In function 'int main()': 0_0_14046630_79.cpp:18:29: error: 'memset' was not declared in this scope memset(dp,0,sizeof(energy)); ^