Playing with bits

error in the code?
the testcase is showing time limit error

@Vibhuti0206 hey vibhuti your while loop is creating problem.