Problem | lvm |
---|---|
User | SMILE |
Submission Time | 2024-11-22 18:25:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘int32_t main()’:
lvm.cpp:31:30: error: no matching function for call to ‘std::stack<long long int>::pop(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type&)’
31 | actual.pop(actual.top());
| ^
In file included from /usr/include/c++/9/stack:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:89,
from lvm.cpp:1:
/usr/include/c++/9/bits/stl_stack.h:266:7: note: candidate: ‘void std::stack<_Tp, _Sequence>::pop() [with _Tp = long long int; _Sequence = std::deque<long long int>]’
266 | pop()
| ^~~
/usr/include/c++/9/bits/stl_stack.h:266:7: note: candidate expects 0 arguments, 1 provided
lvm.cpp:34:34: error: no matching function for call to ‘std::stack<long long int>::push(<unresolved overloaded function type>)’
34 | actual.push(registr.front);<