Problem milkweed
User Craftless
Submission Time 2023-11-10 16:29:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

milkweed.cpp: In function ‘int main()’:
milkweed.cpp:46:2: error: ‘memset’ was not declared in this scope
46 | memset(dist, -1, sizeof(dist));
| ^~~~~~
milkweed.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <queue>
+++ |+#include <cstring>
3 | #include <vector>