Problem binarycoins
User AltheaZ
Submission Time 2023-07-24 11:02:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:6:11: error: expected ‘;’ before ‘int’
6 | cin>>b
| ^
| ;
7 | int count=0;
| ~~~
binarycoins.cpp:13:9: error: ‘B’ was not declared in this scope
13 | B-=p;
| ^
binarycoins.cpp:14:9: error: ‘count’ was not declared in this scope
14 | count++;
| ^~~~~
binarycoins.cpp:16:11: error: ‘count’ was not declared in this scope
16 | cout<<count;
| ^~~~~