Given 32-bit unsigned integers, duplicate each bit in-place in the integer.
unsigned long long duplicatebits(unsigned long long);
Note: The function parameter is an
unsigned long long instead of an
unsigned int to remove the step of upcasting.
Your function may be called up to times.