Problem | binarycoins |
---|---|
User | bribritt |
Submission Time | 2023-03-02 13:43:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarycoins.cpp:3:9: error: ‘int128_t’ does not name a type; did you mean ‘int32_t’?
3 | typedef int128_t ll;
| ^~~~~~~~
| int32_t
binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:5:2: error: ‘ll’ was not declared in this scope
5 | ll X, ans = 0; cin >> X;
| ^~
binarycoins.cpp:5:24: error: ‘X’ was not declared in this scope
5 | ll X, ans = 0; cin >> X;
| ^
binarycoins.cpp:7:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
7 | ans += X % 2; X /= 2;
| ^~~
| abs
binarycoins.cpp:9:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
9 | cout << ans;
| ^~~
| abs