0_0_39518170_15205.cpp: In function 'void solve()':
0_0_39518170_15205.cpp:57:5: error: 'memset' was not declared in this scope
57 | memset(tree,0,sizeof(tree));
| ^~~~~~
0_0_39518170_15205.cpp:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include<cstdio>
+++ |+#include <cstring>
3 | #define endl '\n'
|