Problem lunchbox
User Red123
Submission Time 2025-03-14 14:13:21
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:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
lunchbox.cpp:13:34: note: in expansion of macro ‘int’
13 | sort(arr + 0, arr + a, greatest<int>());
| ^~~
lunchbox.cpp:15:9: error: expected primary-expression before ‘<’ token
15 | if(b =< 10){
| ^