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