WA for brute force for Binary Nim (BINIM)

I can’t understand why my code is giving WA.

Here is the link to my submission: Solution: 68561018 | CodeChef