Problem swapsort
User aley
Submission Time 2024-11-11 13:17:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swapsort.cpp: In function ‘int32_t main()’:
swapsort.cpp:39:14: error: expected ‘;’ before ‘cin’
39 | swapVar1-=1
| ^
| ;
40 | cin>>swapVar2;
| ~~~
swapsort.cpp:41:14: error: expected ‘;’ before ‘holderVar’
41 | swapVar2-=1
| ^
| ;
42 | holderVar=arr[swapVar1];
| ~~~~~~~~~