sorting.cpp: In function 'int findSwapPairs(int, int*, int, int*, int*, int*, int*)':
sorting.cpp:4:37: warning: unused parameter 'M' [-Wunused-parameter]
4 | int findSwapPairs(int N,int S[],int M, int X[],int Y[], int P[],int Q[]) {
| ~~~~^
sorting.cpp:4:44: warning: unused parameter 'X' [-Wunused-parameter]
4 | int findSwapPairs(int N,int S[],int M, int X[],int Y[], int P[],int Q[]) {
| ~~~~^~~
sorting.cpp:4:52: warning: unused parameter 'Y' [-Wunused-parameter]
4 | int findSwapPairs(int N,int S[],int M, int X[],int Y[], int P[],int Q[]) {
| ~~~~^~~