| Problem | lengthsort |
|---|---|
| User | jiazethesigma |
| Submission Time | 2025-12-12 09:08:11 |
| 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:5:2: error: expected initializer before ‘if’
5 | if(a.length()==b.length()) skibidi = true;
| ^~
lengthsort.cpp:6:2: error: ‘else’ without a previous ‘if’
6 | else skibidi=a.length()>b.length();
| ^~~~
lengthsort.cpp:6:7: error: ‘skibidi’ was not declared in this scope
6 | else skibidi=a.length()>b.length();
| ^~~~~~~