SP9721 CODESPTA - 2s Complement

Description

One of the basics of Computer Science is knowing how numbers are represented in 2's complement. Imagine that you write down all numbers between A and B in 2's complement representation using 32 bits. How many 1's will you write down in all ?

Input Format

N/A

Output Format

N/A