Topic: Bit Manipulation Problem / Level: advanced

Problem: Write a program to find the smallest positive integer that cannot be represented as a sum of distinct powers of two.

Run the code to see the output here...