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

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:17:8: error: ‘class std::vector<std::__cxx11::basic_string<char> >’ has no member named ‘push_front’
17 | str.push_front(s);
| ^~~~~~~~~~
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)’
2