0_0_38810518_15588.cpp: In function 'int solve()':
0_0_38810518_15588.cpp:11:9: error: 'memset' was not declared in this scope
11 | memset(f, 0, sizeof(f));
| ^~~~~~
0_0_38810518_15588.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <map>
+++ |+#include <cstring>
4 | using namespace std;
|