mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update bit_manipulation/count_bits_flip.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
66bb1bc30c
commit
7608314d86
@ -40,8 +40,8 @@ namespace count_bits_flip {
|
||||
* @returns total number of bits needed to be flipped to convert A to B
|
||||
*/
|
||||
std::uint64_t countBitsFlip(
|
||||
std ::int64_t A,
|
||||
std ::int64_t B) { // int64_t is preferred over int so that
|
||||
std::int64_t A,
|
||||
std::int64_t B) { // int64_t is preferred over int so that
|
||||
// no Overflow can be there.
|
||||
|
||||
int count =
|
||||
|
Loading…
Reference in New Issue
Block a user