Problem potatosalad
User gtiamthebest
Submission Time 2023-12-08 17:41:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:12:14: error: no matching function for call to ‘std::deque<long long int>::insert(ll&)’
12 | dq.insert(c);
| ^
In file included from /usr/include/c++/9/deque:69,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from potatosalad.cpp:1:
/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 = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<long long int, long long int&, long long int*>; std::deque<_Tp, _Alloc>::const_iterator = std::_Deque_iterator<long long int, const long long int&, const long long int*>; std::deque<_Tp, _Alloc>::value_type = long long int]’
208 | deque<