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