| Problem | duckhunt19 |
|---|---|
| User | XXC |
| Submission Time | 2025-11-24 13:18:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt19.cpp: In function ‘int main()’:
duckhunt19.cpp:13:24: error: no matching function for call to ‘std::stack<int>::pop(int&)’
13 | s.pop(i)
| ^
In file included from /usr/include/c++/9/stack:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:89,
from duckhunt19.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