Problem sorting2
User shenshiqi
Submission Time 2025-12-11 09:28:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:7:19: error: ‘swap’ was not declared in this scope
7 | if (!oneBefTwo) swap(A[0], A[1]);
| ^~~~