Problem flip
User Kiameimon
Submission Time 2023-12-02 17:16:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flip.cpp: In function ‘int main()’:
flip.cpp:19:2: error: expected ‘,’ or ‘;’ before ‘if’
19 | if(x <= l){
| ^~
flip.cpp:22:2: error: ‘else’ without a previous ‘if’
22 | else{cout << -1}
| ^~~~
flip.cpp:22:17: error: expected ‘;’ before ‘}’ token
22 | else{cout << -1}
| ^
| ;