1. Number of 1 Bitshistorical

    Given an integer, output the number of 1s in its 32-bit binary representation. Negative numbers are represented using two's complement.

  2. Integer Power of a Numberhistorical

    Given a floating-point number base of type double and an integer exponent of type int, calculate base raised to the power of exponent.

  3. Number of Digit 1 Occurrenceshistorical

    Given an integer n, count how many times the digit 1 appears in all integers from 1 through n.