Your browser (Unknown 0) is no longer supported. Some parts of the website may not work correctly. Please update your browser.
Exercise 9

Bitwise operations (bit-ops)

Tasks:

easy
Find longest sequence of zeros in binary representation of an integer.
medium
Count 30-bit bitmasks conforming to at least one of three given 30-bit bitmasks.
hard
Decompose int into sum of ints having no consecutive 1s in binary form.