0_0_39397019_21031.cpp: In function 'void dijstra(int, int)':
0_0_39397019_21031.cpp:14:5: error: 'memset' was not declared in this scope
14 | memset(s, 0, sizeof(s)); //将所有顶点标记为未访问
| ^~~~~~
0_0_39397019_21031.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <cmath>
+++ |+#include <cstring>
6 | using namespace std;
|