sorting.cpp: In function 'int findSwapPairs(int, int*, int, int*, int*, int*, int*)':
sorting.cpp:27:10: error: expected '}' at end of input
27 | return N;
| ^
sorting.cpp:14:1: note: to match this '{'
14 | {
| ^
sorting.cpp:13:40: warning: unused parameter 'M' [-Wunused-parameter]
13 | int findSwapPairs(int N, int Se[], int M, int X[], int Y[], int P[], int Q[])
| ~~~~^
sorting.cpp:13:47: warning: unused parameter 'X' [-Wunused-parameter]
13 | int findSwapPairs(int N, int Se[], int M, int X[], int Y[], int P[], int Q[])
| ~~~~^~~
sorting.cpp:13:56: warning: unused parameter 'Y' [-Wunused-parameter]
13 | int findSwapPairs(int N, int Se[], int M, int X[], int Y[], int P[], int Q[])
| ~~~~^~~