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