0_0_39309062_21612.cpp: In function 'int main()':
0_0_39309062_21612.cpp:42:17: error: 'memset' was not declared in this scope
42 | memset(fre, -1, sizeof(fre));
| ^~~~~~
0_0_39309062_21612.cpp:2:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include<iostream>
+++ |+#include <cstring>
2 | using namespace std;
|