0_0_39089154_25370.cpp: In function 'void Dijkstra(int)':
0_0_39089154_25370.cpp:10:5: error: 'memset' was not declared in this scope
10 | memset(used,0,sizeof(used));
| ^~~~~~
0_0_39089154_25370.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;
0_0_39089154_25370.cpp: In function 'int main()':
0_0_39089154_25370.cpp:38:9: error: 'memset' was not declared in this scope
38 | memset(map,INF,sizeof(map));
| ^~~~~~
0_0_39089154_25370.cpp:38:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|