Problem sorting
User reporter
Submission Time 2023-04-15 23:52:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sorting.cpp: In function ‘int findSwapPairs(int, int*, int, int*, int*, int*, int*)’:
sorting.cpp:67:10: error: expected ‘}’ at end of input
67 | return M;
| ^
sorting.cpp:24:78: note: to match this ‘{’
24 | int findSwapPairs(int n, int S[], int M, int X[], int Y[], int P[], int Q[]) {
| ^