Getting WA in codechef problem MIKE3

I have used bit manipulation to find out the max number of subsets.
But getting wrong answer, don’t know where my code is going wrong.
problem link : MIKE3 Problem - CodeChef
submission link : CodeChef: Practical coding for everyone