0_0_39474678_2600.cpp: In function 'void solve()':
0_0_39474678_2600.cpp:21:5: error: 'memset' was not declared in this scope
21 | memset(dp,inf,sizeof(dp));
| ^~~~~~
0_0_39474678_2600.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include<vector>
+++ |+#include <cstring>
6 | using namespace std;
|