Problem binarycoins
User FIips
Submission Time 2025-02-28 20:44:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:3:13: error: declaration does not declare anything [-fpermissive]
3 | #define int int64_t;
| ^~~~~~~
binarycoins.cpp:6:2: note: in expansion of macro ‘int’
6 | int n;
| ^~~
binarycoins.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n;
| ^
| yn
binarycoins.cpp:3:13: error: declaration does not declare anything [-fpermissive]
3 | #define int int64_t;
| ^~~~~~~
binarycoins.cpp:9:2: note: in expansion of macro ‘int’
9 | int ans = 0;
| ^~~
binarycoins.cpp:9:6: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
9 | int ans = 0;
| ^~~
| abs
binarycoins.cpp:3:13: error: declaration does not declare anything [-fpermissive]
3 | #define int int64_t;
|