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