Problem | guanine |
---|---|
User | JJ1234 |
Submission Time | 2024-11-26 20:03:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
guanine.cpp: In function ‘int main()’:
guanine.cpp:11:38: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
11 | nucleotides.push_back(query[query.length-1])
| ~~~~~~^~~~~~
| ()
guanine.cpp:13:23: error: ‘v’ was not declared in this scope
13 | nucleotides.insert(v.begin(), query[query.length-1])
| ^
guanine.cpp:13:46: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const