Problem binarycoins
User JhoCyber
Submission Time 2024-12-29 16:19:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int32_t main()’:
binarycoins.cpp:9:14: error: expected initializer before ‘.’ token
9 | int power.notes=0;
| ^
binarycoins.cpp:13:13: error: ‘power’ was not declared in this scope
13 | power=b/2;
| ^~~~~
binarycoins.cpp:15:13: error: ‘notes’ was not declared in this scope
15 | notes++;
| ^~~~~
binarycoins.cpp:19:13: error: ‘notes’ was not declared in this scope
19 | notes++;
| ^~~~~
binarycoins.cpp:22:13: error: ‘notes’ was not declared in this scope
22 | cout >> notes;
| ^~~~~