Problem | lengthsort |
---|---|
User | supercel980 |
Submission Time | 2024-08-23 16:03:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘bool comparator(std::string, std::string)’:
lengthsort.cpp:9:12: error: a function-definition is not allowed here before ‘{’ token
9 | int main() {
| ^
lengthsort.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
lengthsort.cpp:4:37: note: to match this ‘{’
4 | bool comparator(string a, string b) {
| ^