Problem swapsort
User christal
Submission Time 2023-12-09 17:00:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swapsort.cpp: In function ‘int main()’:
swapsort.cpp:10:6: error: ‘i’ was not declared in this scope
10 | for(i=0; i<=N; i++){
| ^
swapsort.cpp:14:14: error: expected ‘;’ before ‘{’ token
14 | }else(a<=b){
| ^
| ;
swapsort.cpp:18:2: error: expected ‘}’ at end of input
18 | }
| ^
swapsort.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^