| Problem | sorting2 |
|---|---|
| User | ensonchew |
| Submission Time | 2025-12-10 16:37:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sorting2.cpp: In function ‘void sort_questions(int, int, int*)’:
sorting2.cpp:7:38: error: expected ‘;’ before ‘swap’
7 | if (!compare_difficulty(A[0], A[1]) swap(A[0], A[1]);
| ^~~~~
| ;
sorting2.cpp:8:3: error: expected primary-expression before ‘return’
8 | return;
| ^~~~~~
sorting2.cpp:7:56: error: expected ‘)’ before ‘return’
7 | if (!compare_difficulty(A[0], A[1]) swap(A[0], A[1]);
| ~ ^
| )
8 | return;
| ~~~~~~