Problem lunchbox
User Red123
Submission Time 2025-03-14 14:14:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:25: error: ‘greatest’ was not declared in this scope
13 | sort(arr + 0, arr + a, greatest<int>());
| ^~~~~~~~
lunchbox.cpp:13:34: error: expected primary-expression before ‘int’
13 | sort(arr + 0, arr + a, greatest<int>());
| ^~~