Problem swapbuildings
User TYW
Submission Time 2025-06-25 21:12:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swapbuildings.cpp: In function ‘int32_t main()’:
swapbuildings.cpp:9:21: error: expected ‘)’ before ‘;’ token
9 | swap(arr[0],arr[N-1];
| ~ ^
| )