Problem ultimateifelse
User Wheezycantcode
Submission Time 2024-02-02 23:27:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:25:12: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘lenth’; did you mean ‘length’?
25 | else if(s.lenth() == n){
| ^~~~~
| length