Problem bftrouble
User xyzidk9
Submission Time 2026-04-29 14:54:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bftrouble.cpp: In function ‘int main()’:
bftrouble.cpp:10:46: error: no matching function for call to ‘std::deque<int>::push_back(std::deque<int>&)’
10 | cheater_notebook.push_back(cheater_notebook);
| ^
In file included from /usr/include/c++/9/deque:67,
from bftrouble.cpp:2:
/usr/include/c++/9/bits/stl_deque.h:1569:7: note: candidate: ‘void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::deque<_Tp, _Alloc>::value_type = int]’
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:35: note: no known conversion for argument 1 from ‘std::deque<int>’ to ‘const value_type&’ {aka ‘const int&’}
1569 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/bits/stl_deque.h:1584:7: note: