0_0_39139513_21409.cpp: In function 'void set_g(node)':
0_0_39139513_21409.cpp:48:5: error: 'memset' was not declared in this scope
48 | memset(g, 0, sizeof g);
| ^~~~~~
0_0_39139513_21409.cpp:9:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
8 | #include <map>
+++ |+#include <cstring>
9 | #include <string>
0_0_39139513_21409.cpp: In function 'bool bfs()':
0_0_39139513_21409.cpp:63:5: error: 'memset' was not declared in this scope
63 | memset(vis, '0', sizeof vis);
| ^~~~~~
0_0_39139513_21409.cpp:63:5: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39139513_21409.cpp: At global scope:
0_0_39139513_21409.cpp:160:1: error: expected unqualified-id before '-' token
160 | -
| ^
|