Problem runway
User amaadvik
Submission Time 2025-01-15 20:22:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

runway.cpp: In function ‘bool check(int)’:
runway.cpp:16:2: error: ‘memset’ was not declared in this scope
16 | memset(dist, -1, sizeof(dist));
| ^~~~~~
runway.cpp:6:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
5 | #include <algorithm>
+++ |+#include <cstring>
6 | using namespace std;