Problem | potatoqueue |
---|---|
User | yc |
Submission Time | 2025-05-29 17:59:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatoqueue.cpp:3:7: error: expected nested-name-specifier before ‘naespace’
3 | using naespace std;
| ^~~~~~~~
potatoqueue.cpp:4:1: error: ‘deque’ does not name a type
4 | deque<int> n;
| ^~~~~
potatoqueue.cpp:5:1: error: ‘deque’ does not name a type
5 | deque<pair<int,int>> m;
| ^~~~~
potatoqueue.cpp: In function ‘void join(int)’:
potatoqueue.cpp:9:2: error: ‘n’ was not declared in this scope
9 | n.push_front(H);
| ^
potatoqueue.cpp:16:2: error: ‘m’ was not declared in this scope
16 | m.push_front(make_pair(a,b));
| ^
potatoqueue.cpp:16:15: error: ‘make_pair’ was not declared in this scope; did you mean ‘std::make_pair’?
16 | m.push_front(make_pair(a,b));
| ^~~~~~~~~
| std::make_pair
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h: