Problem choochoo
User Dantheman
Submission Time 2024-11-22 18:41:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

choochoo.cpp:19:25: error: missing terminating " character
19 | if (std::string el == "chugga)
| ^~~~~~~~
choochoo.cpp: In function ‘int main()’:
choochoo.cpp:15:15: error: cannot convert ‘std::vector<std::__cxx11::basic_string<char> >’ to ‘char’
15 | s.push_back(v1);
| ^~
| |
| std::vector<std::__cxx11::basic_string<char> >
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from choochoo.cpp:1:
/usr/include/c++/9/bits/basic_string.h:1353:24: note: initializing argument 1 of ‘void std::__cxx11::basic_string<_CharT,