Problem runway
User MasterCoder8421
Submission Time 2025-12-04 16:43:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

runway.cpp: In function ‘bool possible(ll, std::vector<std::vector<std::pair<long long int, long long int> > >, ll, ll, ll)’:
runway.cpp:14:21: error: ‘LLONG_MAX’ was not declared in this scope
14 | vector<ll> dist(n, LLONG_MAX);
| ^~~~~~~~~
runway.cpp:4:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 | using namespace std;
runway.cpp:17:2: error: ‘priority_queue’ was not declared in this scope
17 | priority_queue<T, vector<T>, greater<T>> pq;
| ^~~~~~~~~~~~~~
runway.cpp:4:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
3 | #include <algorithm>
+++ |+#include <queue>
4 | using namespace std;
runway.cpp:17:18: error: expected primary-expression