0_0_37048489_381.cpp: In function 'int main()': 0_0_37048489_381.cpp:17:33: error: 'memset' was not declared in this scope memset(dp, 0, sizeof (dp)); ^