Problem guanine
User PlayVoltz
Submission Time 2023-05-05 14:30:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:21:48: error: no match for call to ‘(std::vector<std::__cxx11::basic_string<char> >) (std::vector<std::__cxx11::basic_string<char> >::iterator, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >)’
21 | str = str(str.begin(), str.begin() + num + 1)
| ^
guanine.cpp:29:43: error: no match for call to ‘(std::vector<std::__cxx11::basic_string<char> >) (__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, std::vector<std::__cxx11::basic_string<char> >::iterator)’
29 | str = str(str.begin()+num+1, str.end())
| ^