Problem binarycoins
User bz
Submission Time 2023-06-12 15:06:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:8:31: error: declaration does not declare anything [-fpermissive]
8 | #define ull unsigned long long;
| ^~~~
binarycoins.cpp:9:5: note: in expansion of macro ‘ull’
9 | ull n; cin >> n;
| ^~~
binarycoins.cpp:9:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | ull n; cin >> n;
| ^
| yn
binarycoins.cpp:8:31: error: declaration does not declare anything [-fpermissive]
8 | #define ull unsigned long long;
| ^~~~
binarycoins.cpp:10:5: note: in expansion of macro ‘ull’
10 | ull ans = 0;
| ^~~
binarycoins.cpp:10:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
10 | ull ans = 0;
| ^~~
| abs