| Problem | smurf |
|---|---|
| User | Harshithdagot |
| Submission Time | 2026-07-08 16:59:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int main()’:
smurf.cpp:13:21: error: expected ‘;’ before ‘}’ token
13 | arr.push_front(b)
| ^
| ;
14 | }
| ~
smurf.cpp:16:14: error: no matching function for call to ‘std::deque<int>::back(int&)’
16 | arr.back(b)
| ^
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:1500:7: note: candidate: ‘std::deque<_Tp, _Alloc>::reference std::deque<_Tp, _Alloc>::back() [with _Tp = int; _Alloc = std::allocator<int>; std::deque<_Tp, _Alloc>::reference = int&]’
1500 | back() _GLIBCXX_NOEXCEPT
| ^~~~
/usr/include/c++/9/bits/stl_deque.h:1500:7: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/9/bits/stl_