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

Compile Error

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