Problem | calc |
---|---|
User | vadar2525 |
Submission Time | 2025-08-28 20:03:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
calc.cpp: In function ‘int main()’:
calc.cpp:22:6: error: invalid use of non-static member function ‘void std::deque<_Tp, _Alloc>::pop_back() [with _Tp = long long int; _Alloc = std::allocator<long long int>]’
22 | a.pop_back;
| ~~^~~~~~~~
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from calc.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1628:7: note: declared here
1628 | pop_back() _GLIBCXX_NOEXCEPT
| ^~~~~~~~