Problem binarycoins
User Henries
Submission Time 2024-10-12 22:31:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘void solve(long long int)’:
binarycoins.cpp:8:3: error: expected unqualified-id before ‘if’
8 | if (pow(2,power) <= n){
| ^~
binarycoins.cpp:14:3: error: ‘else’ without a previous ‘if’
14 | else {
| ^~~~