0_0_39592610_14522.cpp: In function 'int main()':
0_0_39592610_14522.cpp:28:5: error: 'memset' was not declared in this scope
28 | memset(vis,0,sizeof(vis));
| ^~~~~~
0_0_39592610_14522.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include<cstdlib>
+++ |+#include <cstring>
4 | using namespace std;
|