prob: https://atcoder.jp/contests/abc068/tasks/abc068_b
editorial: https://img.atcoder.jp/arc079/editorial.pdf
my_code: https://ide.codingblocks.com/s/438250
my code is not working for few test cases (input = 32) also please explain how they have used bitwise operator in the editorial I have forgotten them.