Problem sorting2
User ensonchew
Submission Time 2025-12-10 16:30:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:5:34: error: too few arguments to function ‘bool compare_difficulty(int, int)’
5 | sort(A, A+N, compare_difficulty());
| ^
In file included from sorting2.cpp:1:
sorting2.h:2:6: note: declared here
2 | bool compare_difficulty(int X, int Y);
| ^~~~~~~~~~~~~~~~~~