Problem | binarycoins |
---|---|
User | asbx |
Submission Time | 2023-11-22 18:08:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:4:7: error: expected primary-expression before ‘long’
4 | cin>>long long B, int notes=0;
| ^~~~
binarycoins.cpp:5:24: error: ‘B’ was not declared in this scope
5 | for(int i = ceil(log2(B+1)); i>=0; i=i-1){
| ^
binarycoins.cpp:7:4: error: ‘notes’ was not declared in this scope
7 | notes=notes+1;
| ^~~~~
binarycoins.cpp:12:8: error: ‘notes’ was not declared in this scope
12 | cout<<notes;
| ^~~~~