0_0_38829100_16045.cpp: In function 'void solve()':
0_0_38829100_16045.cpp:47:9: error: 'memset' was not declared in this scope
47 | memset(dp,0,sizeof(int[n+10]));
| ^~~~~~
0_0_38829100_16045.cpp:5:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
4 | #include<algorithm>
+++ |+#include <cstring>
5 | #define getchar _getchar_nolock
|