0_0_38685943_4613.cpp: In function 'void solution(int, int)':
0_0_38685943_4613.cpp:14:9: error: 'memset' was not declared in this scope
14 | memset(dp, MAX + 1, 0);
| ^~~~~~
0_0_38685943_4613.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;
|