Solution : The algorithm is: 1. Right shift 0th bits until meet 1th bit;. 2. While we have 1th bits in the variable right shift all bits and count 0th bits;.
確定! 回上一頁