Problem lvm
User dev1634
Submission Time 2023-02-22 06:30:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lvm.cpp: In function ‘int main()’:
lvm.cpp:37:10: error: invalid use of non-static member function ‘void std::stack<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]’
37 | stack.pop;
| ~~~~~~^~~
In file included from /usr/include/c++/9/stack:61,
from lvm.cpp:2:
/usr/include/c++/9/bits/stl_stack.h:266:7: note: declared here
266 | pop()
| ^~~