Problem binarycoins
User baobaocar
Submission Time 2023-03-13 23:45:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp:7:24: error: expected ‘,’ or ‘...’ before ‘x’
7 | void solve(unsigned ll x) {
| ^
binarycoins.cpp: In function ‘void solve(unsigned int)’:
binarycoins.cpp:8:17: error: expected initializer before ‘test’
8 | unsigned ll test = 1;
| ^~~~
binarycoins.cpp:11:13: error: ‘test’ was not declared in this scope
11 | if (test & x) {
| ^~~~
binarycoins.cpp:11:20: error: ‘x’ was not declared in this scope
11 | if (test & x) {
| ^
binarycoins.cpp:14:9: error: ‘test’ was not declared in this scope
14 | test <<= 1;
| ^~~~