Problem | smurf |
---|---|
User | justin271828 |
Submission Time | 2024-05-25 17:24:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int main()’:
smurf.cpp:20:5: error: invalid use of non-static member function ‘void std::deque<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]’
20 | d.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 smurf.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1628:7: note: declared here
1628 | pop_back() _GLIBCXX_NOEXCEPT
| ^~~~~~~~