0_0_38585534_22167.cpp: In function 'int main()':
0_0_38585534_22167.cpp:12:3: error: 'memset' was not declared in this scope
memset(dp, 0, sizeof(dp));
^~~~~~
0_0_38585534_22167.cpp:12:3: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38585534_22167.cpp:4:1:
+#include <cstring>
using namespace std;
0_0_38585534_22167.cpp:12:3:
memset(dp, 0, sizeof(dp));
^~~~~~
|