Problem sorting2
User bachnguyen123
Submission Time 2026-04-24 22:45:46
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:7: error: ‘a’ was not declared in this scope
5 | sort(a, a+n, compare_difficulty);
| ^
sorting2.cpp:5:12: error: ‘n’ was not declared in this scope
5 | sort(a, a+n, compare_difficulty);
| ^