Problem park
User StormyGood
Submission Time 2024-02-25 12:03:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

park.cpp: In function ‘int main()’:
park.cpp:33:39: error: ‘class std::queue<Group*>’ has no member named ‘begin’
33 | for (auto it = groupQueue.begin(); it != groupQueue.end(); ++it) {
| ^~~~~
park.cpp:33:65: error: ‘class std::queue<Group*>’ has no member named ‘end’
33 | for (auto it = groupQueue.begin(); it != groupQueue.end(); ++it) {
| ^~~
park.cpp:35:32: error: ‘class std::queue<Group*>’ has no member named ‘erase’
35 | groupQueue.erase(it);
| ^~~~~