| Problem | lineup2 |
|---|---|
| User | StormyGood |
| Submission Time | 2025-11-09 12:24:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lineup2.cpp: In function ‘int main()’:
lineup2.cpp:19:11: error: no matching function for call to ‘std::stack<int>::pop(int&)’
19 | c.pop(e);
| ^
In file included from /usr/include/c++/9/stack:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:89,
from lineup2.cpp:1:
/usr/include/c++/9/bits/stl_stack.h:266:7: note: candidate: ‘void std::stack<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]’
266 | pop()
| ^~~
/usr/include/c++/9/bits/stl_stack.h:266:7: note: candidate expects 0 arguments, 1 provided