Problem binarycoins
User briyanii
Submission Time 2024-01-22 11:15:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:12:13: error: expected initializer before ‘+=’ token
12 | int temp += 1;
| ^~
binarycoins.cpp:14:29: error: expected ‘;’ before ‘yes’
14 | moneymonkey -= (1<<temp-1)
| ^
| ;
15 | yes += ;1
| ~~~
binarycoins.cpp:15:12: error: expected ‘;’ before ‘}’ token
15 | yes += ;1
| ^
| ;
16 | }
| ~