Whats wrong in my approach its not giving correct output
sorry i missed something in the code while posting it in doubt
@aman212yadav at first I took two input a and b then I initialized i with value of a then started a while loop until a becomes equal to b then stored the value of i&1 in count which will count using the help of c how many set bits are there then updated i=i>>1 and when i becomes equal to zero it will increment a.
Then at last printed ans.
check input format,
u are given q such queries.