Why am I getting a problem in the twonim question?

wrong-answer

#1

https://www.codechef.com/viewsolution/21946525