Problem simp
User Mimikyu
Submission Time 2024-01-03 22:06:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:11:2: error: expected ‘,’ or ‘;’ before ‘if’
11 | if(b1==a1){cout<<"NO";counter=1;}
| ^~
simp.cpp:13:2: error: ‘else’ without a previous ‘if’
13 | else if(b1<a1){
| ^~~~
simp.cpp:33:1: error: expected ‘}’ at end of input
33 | }
| ^
simp.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^