| Problem | card |
|---|---|
| User | BigBackAdrino |
| Submission Time | 2026-07-02 17:43:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:16:31: error: no matching function for call to ‘std::deque<int>::push_back(std::deque<int>::iterator)’
16 | num.push_back (num.begin());
| ^
In file included from /usr/include/c++/9/deque:67,
from card.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>::iterator’ {aka ‘std::_Deque_iterator<int, int&, int*>’} to ‘const value_type&’ {aka ‘const int&’}
1569 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/bits