Problem | card |
---|---|
User | Ningja |
Submission Time | 2023-11-09 23:37:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:13:13: error: no matching function for call to ‘std::deque<int>::insert(int&)’
13 | d.insert(i);
| ^
In file included from /usr/include/c++/9/deque:69,
from card.cpp:2:
/usr/include/c++/9/bits/deque.tcc:208:5: note: candidate: ‘std::deque<_Tp, _Alloc>::iterator std::deque<_Tp, _Alloc>::insert(std::deque<_Tp, _Alloc>::const_iterator, const value_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<int, int&, int*>; std::deque<_Tp, _Alloc>::const_iterator = std::_Deque_iterator<int, const int&, const int*>; std::deque<_Tp, _Alloc>::value_type = int]’
208 | deque<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/deque.tcc:208:5: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/9/deque:67,<