Problem | lengthsort |
---|---|
User | seanLim |
Submission Time | 2025-01-22 16:37:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘int main()’:
lengthsort.cpp:12:45: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> struct std::greater’
12 | sort(info.begin(), info.end(), greater<pair>());
| ^
lengthsort.cpp:12:45: note: expected a type, got ‘pair’