Problem | binarycoins |
---|---|
User | caleb |
Submission Time | 2024-05-23 18:32:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarycoins.cpp: In function βint main()β:
binarycoins.cpp:12:84: error: expected primary-expression before β)β token
12 | for (int i=log2(B); i>=0; i--) {x = 1LL << i; if (B>= x) {sum += 1; B -= 1LL << i;);}}
| ^