Bitmask, Bit

Tutorial:
https://procoderforu.com/bit-masking/
https://codeforces.com/blog/entry/18169

__builtin_popcount(x)
returns total count of  1 in the binary of x.

Problem:
https://toph.co/p/tidy-bits

Comments

Popular posts from this blog

C++ STL practice problem link

Binary Index Tree(BIT)

Combinatorics