0_0_39091346_5357.cpp: In function 'int main()':
0_0_39091346_5357.cpp:52:9: error: 'memset' was not declared in this scope
52 | memset(s, 0, sizeof(s));
| ^~~~~~
0_0_39091346_5357.cpp:5:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
4 | #include <cmath>
+++ |+#include <cstring>
5 | #define N 500005
|