Problem sorting2
User ilikeeggs
Submission Time 2024-12-02 10:27:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:9:8: error: ‘compare_difficulty’ was not declared in this scope
9 | if(!compare_difficulty(A[i], A[j]){
| ^~~~~~~~~~~~~~~~~~
sorting2.cpp:9:38: error: expected ‘)’ before ‘{’ token
9 | if(!compare_difficulty(A[i], A[j]){
| ~ ^
| )
sorting2.cpp:12:3: error: expected primary-expression before ‘}’ token
12 | }
| ^