0_0_39372141_24295.cpp: In function 'int main()':
0_0_39372141_24295.cpp:40:9: error: 'memset' was not declared in this scope
40 | memset(dp, 0, sizeof(dp));
| ^~~~~~
0_0_39372141_24295.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;
|