Problem binarycoins
User Mimikyu
Submission Time 2023-11-27 08:40:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int tobles(long long int)’:
binarycoins.cpp:11:9: error: expected primary-expression before ‘long’
11 | return long long x;
| ^~~~
binarycoins.cpp:11:8: error: expected ‘;’ before ‘long’
11 | return long long x;
| ^~~~~
| ;
binarycoins.cpp:11:19: error: redeclaration of ‘long long int x’
11 | return long long x;
| ^
binarycoins.cpp:7:12: note: ‘long long int x’ previously declared here
7 | long long x=1;
| ^