Problem | park |
---|---|
User | cobnet |
Submission Time | 2025-02-21 22:29:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
park.cpp:12:53: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::deque’
12 | void join(ll gSize, ll willingness, deque<parkObject> &thequeue, ll ID){
| ^
park.cpp:12:53: note: expected a type, got ‘parkObject’
park.cpp:12:53: error: template argument 2 is invalid
park.cpp: In function ‘void join(ll, ll, int&, ll)’:
park.cpp:13:12: error: expected ‘;’ before ‘S’
13 | parkObject S;
| ^~
| ;
park.cpp:14:2: error: ‘S’ was not declared in this scope
14 | S.size = gSize;
| ^
park.cpp:17:11: error: request for member ‘push_back’ in ‘thequeue’, which is of non-class type ‘int’
17 | thequeue.push_back(S);
| ^~~~~~~~~
park.cpp: At global scope:
park.cpp:25:41: error: type/value mismatch at argument 1 in template parameter list for ‘temp