Problem | potatoqueue |
---|---|
User | yc |
Submission Time | 2025-05-29 17:56:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatoqueue.cpp:3:1: error: ‘deque’ does not name a type
3 | deque <int> n;
| ^~~~~
potatoqueue.cpp:4:1: error: ‘deque’ does not name a type
4 | deque <pair<int,int>> m;
| ^~~~~
potatoqueue.cpp: In function ‘void join(int)’:
potatoqueue.cpp:8:2: error: ‘n’ was not declared in this scope
8 | n.push_front(H);
| ^
potatoqueue.cpp:15:2: error: ‘m’ was not declared in this scope
15 | m.push_front(make_pair(a,b));
| ^
potatoqueue.cpp:15:15: error: ‘make_pair’ was not declared in this scope; did you mean ‘std::make_pair’?
15 | 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:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h: