Problem binarycoins
User Cat
Submission Time 2025-04-28 16:21:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int a(long long int)’:
binarycoins.cpp:6:14: error: a function-definition is not allowed here before ‘{’ token
6 | signed main(){
| ^
binarycoins.cpp:11:1: error: expected ‘}’ at end of input
11 | }
| ^
binarycoins.cpp:4:17: note: to match this ‘{’
4 | signed a(int b) {
| ^