Problem | lengthsort |
---|---|
User | brat |
Submission Time | 2025-09-25 20:38:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘bool comp(std::pair<long long int, long long int>, std::pair<long long int, long long int>)’:
lengthsort.cpp:9:14: error: expression cannot be used as a function
9 | if (a.first() != b.first()) {return a.first() > b.first();}
| ^
lengthsort.cpp:9:27: error: expression cannot be used as a function
9 | if (a.first() != b.first()) {return a.first() > b.first();}
| ^
lengthsort.cpp:9:46: error: expression cannot be used as a function
9 | if (a.first() != b.first()) {return a.first() > b.first();}
| ^
lengthsort.cpp:9:58: error: expression cannot be used as a function
9 | if (a.first() != b.first()) {return a.first() > b.first();}
| ^
lengthsort.cpp:10:24: error: expression cannot be used as a function
10 | else