Problem Link

Solution Link

Exaplanation:

just count total numbers of ZERO present in binary number of given n,

and answer will be the 2 to the power of (total num of zero).

Solution Link

Exaplanation:

just count total numbers of ZERO present in binary number of given n,

and answer will be the 2 to the power of (total num of zero).

Reason:I believe the justification is that the xor simulates binary addition without
| |||||||

## No comments:

## Post a Comment