Problem binarycoins
User aj
Submission Time 2024-12-03 17:46:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:15:32: error: cannot convert ‘std::bitset<64>’ to ‘long long unsigned int’
15 | cout << __builtin_popcountll(bitset<64>(B)) << endl;
| ^~~~~~~~~~~~~
| |
| std::bitset<64>
<built-in>: note: initializing argument 1 of ‘int __builtin_popcountll(long long unsigned int)’