mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
ac6ccfa717
commit
941ae67ea3
@ -27,7 +27,6 @@ namespace bitCount {
|
||||
* @param n is the number whose set bit will be counted
|
||||
* @returns count , the number set bit in binary representation of n
|
||||
*/
|
||||
|
||||
std::uint64_t countSetBits(int n) {
|
||||
int count = 0; // "count" variable is used to count number of 1's in binary
|
||||
// representation of the number
|
||||
|
Loading…
Reference in New Issue
Block a user