Problem airplane
User Hengweezy
Submission Time 2024-03-03 00:04:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

airplane.cpp: In function ‘int d(std::vector<std::vector<std::pair<int, int> > >&, int)’:
airplane.cpp:19:36: error: ‘target’ was not declared in this scope
19 | vector<pair<int, int>>& var = v[target];
| ^~~~~~
airplane.cpp:24:21: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘lower_bound’
24 | auto lowest =var.lower_bound({ftime, fmheight});
| ^~~~~~~~~~~
airplane.cpp:29:40: error: no matching function for call to ‘std::priority_queue<std::pair<int, std::pair<int, int> > >::push(<brace-enclosed initializer list>)’
29 | pq.push({target, {ftime,fmheight}});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from airplane.cpp:1:
/usr/in