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