| Problem | park |
|---|---|
| User | cobnet |
| Submission Time | 2025-02-21 22:38:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
park.cpp: In function ‘int main()’:
park.cpp:65:17: error: invalid initialization of reference of type ‘std::deque<std::pair<long long int, long long int> >&’ from expression of type ‘std::deque<parkObject>’
65 | leave(tempI, thequeue, numBoarded);
| ^~~~~~~~
park.cpp:20:41: note: in passing argument 2 of ‘void leave(ll, std::deque<std::pair<long long int, long long int> >&, ll)’
20 | void leave(ll IDE, deque<pair<ll, ll>> &thequeue, ll numBoarded){
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~