Wierd Problem(BITREE) CodeRush Help Needed

Can somebody help me how to approach and think towards Wierd Problem (Problem code:BITREE) of CodeRush problem?
Problem Link:https://www.codechef.com/CORU2019/problems/BITREE
Thanks in Advance!!!

1 Like
//