#466 Count Bits (C)

Given a positive number n, count total bits needed to represent it (using C).