0_0_39474814_16279.cpp: In function 'void solve()':
0_0_39474814_16279.cpp:21:5: error: 'memset' was not declared in this scope
21 | memset(dp,inf,sizeof(dp));
| ^~~~~~
0_0_39474814_16279.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;
|