sorting.cpp: In function 'void mer(int, int)':
sorting.cpp:11:14: warning: unused parameter 'l' [-Wunused-parameter]
11 | void mer(int l,int r)
| ~~~~^
sorting.cpp:11:20: warning: unused parameter 'r' [-Wunused-parameter]
11 | void mer(int l,int r)
| ~~~~^
sorting.cpp: In function 'int findSwapPairs(int, int*, int, int*, int*, int*, int*)':
sorting.cpp:31:23: warning: declaration of 'N' shadows a global declaration [-Wshadow]
31 | int findSwapPairs(int N, int S[], int M, int X[], int Y[], int P[], int Q[]) {
| ~~~~^
sorting.cpp:4:11: note: shadowed declaration is here
4 | const int N=2e5+100;
| ^
sorting.cpp:31:39: warning: unused parameter 'M' [-Wunused-parameter]
31 | int findSwapPairs(int N, int S[], int M, int X[], int Y[], int P[], int Q[]) {
| ~~~~^
sorting.cpp:31:46: warning: unused parameter 'X' [-Wunused-parameter]
31 | int findSwapPairs(int N, int S[], int M, int X[], int Y[], int P[], int Q[]) {
| ~~~~^~~
sorting.cpp:31:55: warning: unused parameter 'Y' [-Wunused-parameter]
31 | int findSwapPairs(int N, int S[], int M, int X[], int Y[], int P[], int Q[]) {
| ~~~~^~~