Problem sort
User AustinPi
Submission Time 2024-08-04 12:41:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘bool cmp(std::string, std::string)’:
sort.cpp:14:7: error: expected primary-expression before ‘long’
14 | if (long long(a[digit_index])<long long(b[digit_index])) {
| ^~~~
sort.cpp:14:7: error: expected ‘)’ before ‘long’
14 | if (long long(a[digit_index])<long long(b[digit_index])) {
| ~^~~~
| )