Problem | potatoqueue |
---|---|
User | yc |
Submission Time | 2025-05-29 17:57:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatoqueue.cpp: In function ‘void init()’:
potatoqueue.cpp:4:2: error: ‘deque’ was not declared in this scope
4 | deque<int> n;
| ^~~~~
potatoqueue.cpp:4:2: note: suggested alternatives:
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from potatoqueue.cpp:2:
/usr/include/c++/9/bits/stl_deque.h:849:11: note: ‘std::deque’
849 | class deque : protected _Deque_base<_Tp, _Alloc>
| ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from potatoqueue.cpp:2:
/usr/include/c++/9/deque:87:13: note: ‘std::pmr::deque’
87 | using deque = std::deque<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~
potatoqueue.cpp:4:8: error: expected primary-expression before ‘int’
4 | deque<int> n;
| ^~~
potatoqueu