Problem swapsort
User R9q5P8
Submission Time 2026-05-31 01:56:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swapsort.cpp: In function ‘int main()’:
swapsort.cpp:28:40: error: expected ‘;’ before ‘if’
28 | wrong -= (a[l]==s[l]&&a[r]==s[r])-rbf
| ^
| ;
29 | if (wrong == 0) count++;
| ~~