Problem guanine
User peepeepoop
Submission Time 2026-02-15 23:14:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:21:54: error: no matching function for call to ‘std::deque<char>::erase(__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type&)’
21 | helpme.erase(helpme[y+1], helpme[helpme.size()-1]);
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from guanine.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1807:7: note: candidate: ‘std::deque<_Tp, _Alloc>::iterator std::deque<_Tp, _Alloc>::erase(std::deque<_Tp, _Alloc>::const_iterator) [with _Tp = char; _Alloc = std::allocator<char>; std::deque<_Tp, _Alloc>::iterator = std::_Deque_iterator<char, char&, char*>; std::deque<_Tp, _Alloc>::const_iterator = std::_Deque_iterato