Problem cyberland_apio23
User back2square1
Submission Time 2023-11-29 23:49:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cyberland_apio23.cpp: In function ‘double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
cyberland_apio23.cpp:23:6: error: ‘queue’ was not declared in this scope; did you mean ‘std::queue’?
23 | q = queue<int>();
| ^~~~~
| std::queue
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from cyberland_apio23.cpp:2:
/usr/include/c++/9/bits/stl_queue.h:96:11: note: ‘std::queue’ declared here
96 | class queue
| ^~~~~
cyberland_apio23.cpp:23:12: error: expected primary-expression before ‘int’
23 | q = queue<int>();
| ^~~