Problem | sort |
---|---|
User | sporknives |
Submission Time | 2024-06-20 08:09:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘bool string_compare(std::string, std::string)’:
sort.cpp:16:49: error: expected ‘;’ before ‘ng1’
16 | return (string1[position] <= string2[position])ng1[position] <= string2[pos;
| ^~~
| ;
sort.cpp:16:49: error: ‘ng1’ was not declared in this scope
16 | return (string1[position] <= string2[position])ng1[position] <= string2[pos;
| ^~~
sort.cpp:16:74: error: ‘pos’ was not declared in this scope; did you mean ‘pow’?
16 | return (string1[position] <= string2[position])ng1[position] <= string2[pos;
| ^~~
| pow
sort.cpp:16:77: error: expected ‘]’ before ‘;’ token
16 | return (string