Problem clipboard
User kai824
Submission Time 2025-03-21 13:40:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

clipboard.cpp: In function ‘int main()’:
clipboard.cpp:41:14: error: ‘x’ was not declared in this scope
41 | swap(pos[A[x]], pos[A[y]]);
| ^
clipboard.cpp:41:25: error: ‘y’ was not declared in this scope
41 | swap(pos[A[x]], pos[A[y]]);
| ^