Problem | ultimateifelse |
---|---|
User | blackpanther |
Submission Time | 2025-06-16 16:37:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:15:23: error: expected ‘)’ before numeric constant
15 | }else if ((s =="hmm")11 (n==20)){
| ~ ^~
| )
ultimateifelse.cpp:17:14: 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 ‘()’ ?)
17 | }else if (s.length>5){
| ~~^~~~~~
| ()
ultimateifelse.cpp:19:14: 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; _T