| Problem | lengthsort |
|---|---|
| User | jiazethesigma |
| Submission Time | 2025-12-12 09:07:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘bool comp(std::string, std::string)’:
lengthsort.cpp:4:44: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’ in initialization
4 | if(a.length()==b.length()) bool skibidi = a;
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}
lengthsort.cpp:6:9: error: ‘skibidi’ was not declared in this scope
6 | return skibidi;
| ^~~~~~~