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

Compile Error

swapsort.cpp: In function ‘int main()’:
swapsort.cpp:21:16: error: ‘l’ was not declared in this scope
21 | bool rbf = a[l]==s[l]&&a[r]==s[r];
| ^
swapsort.cpp:21:28: error: ‘r’ was not declared in this scope
21 | bool rbf = a[l]==s[l]&&a[r]==s[r];
| ^