Problem foreveralone
User Henries
Submission Time 2024-10-04 17:14:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:14:18: error: ‘class std::queue<long long int>’ has no member named ‘begin’
14 | if (find(used.begin(),used.end(),x)==used.end()){
| ^~~~~
foreveralone.cpp:14:31: error: ‘class std::queue<long long int>’ has no member named ‘end’
14 | if (find(used.begin(),used.end(),x)==used.end()){
| ^~~
foreveralone.cpp:14:46: error: ‘class std::queue<long long int>’ has no member named ‘end’
14 | if (find(used.begin(),used.end(),x)==used.end()){
| ^~~
foreveralone.cpp:15:10: error: ‘class std::queue<long long int>’ has no member named ‘push_back’
15 | used.push_back(x);
| ^~~~~~~~~
foreveralone.cpp:17:18: error: ‘class std::queue<long long int>’ has no member named ‘begin’
17 | if (find(used.begin(),used.end(),y)==