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 : https://www.codechef.com/problems/MIKE3
submission link : https://www.codechef.com/viewsolution/14523773

//