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