Problem sorting2
User StormyGood
Submission Time 2026-03-06 20:29:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:6:25: error: ‘n’ was not declared in this scope
6 | for (int i = 0; i < n; i++) A[i]=i+1;
| ^