sorting.cpp: In function 'int findSwapPairs(int, int*, int, int*, int*, int*, int*)':
sorting.cpp:13:21: error: expected ';' before '}' token
13 | db++
| ^
| ;
14 | }
| ~
sorting.cpp:5:39: warning: unused parameter 'm' [-Wunused-parameter]
5 | int findSwapPairs(int n, int s[], int m, int x[], int y[], int p[], int q[]) {
| ~~~~^
sorting.cpp:5:46: warning: unused parameter 'x' [-Wunused-parameter]
5 | int findSwapPairs(int n, int s[], int m, int x[], int y[], int p[], int q[]) {
| ~~~~^~~
sorting.cpp:5:55: warning: unused parameter 'y' [-Wunused-parameter]
5 | int findSwapPairs(int n, int s[], int m, int x[], int y[], int p[], int q[]) {
| ~~~~^~~