| Problem | lvm |
|---|---|
| User | gthinh |
| Submission Time | 2026-01-29 12:22:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘int main()’:
lvm.cpp:18:41: error: ‘l’ was not declared in this scope
18 | t1 = x.first; t2 = x.second.first; l = x.second.second;
| ^
lvm.cpp:22:16: error: cannot resolve overloaded function ‘top’ based on conversion to type ‘long long int’
22 | temp = A.top;
| ^~~
lvm.cpp:23:9: error: invalid use of non-static member function ‘void std::stack<_Tp, _Sequence>::pop() [with _Tp = long long int; _Sequence = std::deque<long long int, std::allocator<long long int> >]’
23 | A.pop;
| ~~^~~
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: declared here
266 | pop()
| ^~~
lvm.cpp:27:11: error: no match for ‘operator<<’ (op