Problem | sort |
---|---|
User | Soysauce |
Submission Time | 2024-04-25 15:11:05 |
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:10:4: error: expected primary-expression before ‘}’ token
10 | }
| ^
sort.cpp: At global scope:
sort.cpp:11:1: error: expected unqualified-id before ‘else’
11 | else{
| ^~~~
sort.cpp:14:1: error: expected declaration before ‘}’ token
14 | }
| ^
sort.cpp:15:1: error: ‘Int’ does not name a type; did you mean ‘int’?
15 | Int main(){
| ^~~
| int
sort.cpp:18:1: error: expected declaration before ‘}’ token
18 | }
| ^
sort.cpp:19:1: error: expected declaration before ‘}’ token
19 |