Problem | sort |
---|---|
User | Soysauce |
Submission Time | 2024-04-25 15:08:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘bool cmp(std::string, std::string)’:
sort.cpp:6:19: error: expected primary-expression before ‘!=’ token
6 | if(a.length(!=b.length()){
| ^~
sort.cpp:6:32: error: expected ‘)’ before ‘{’ token
6 | if(a.length(!=b.length()){
| ~ ^
| )
sort.cpp:15:1: error: expected primary-expression before ‘}’ token
15 | }
| ^
sort.cpp: At global scope:
sort.cpp:16:1: error: expected declaration before ‘}’ token
16 | }
| ^
sort.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^