Problem sadtrainer
User Hatrix
Submission Time 2026-03-03 18:02:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sadtrainer.cpp: In function ‘int main()’:
sadtrainer.cpp:15:17: error: ‘greatest’ was not declared in this scope
15 | sort(a+0, a+n, greatest<int>());
| ^~~~~~~~
sadtrainer.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
sadtrainer.cpp:15:26: note: in expansion of macro ‘int’
15 | sort(a+0, a+n, greatest<int>());
| ^~~