Wrong output of provided code

I was solving a problem XOR Folding from June Cookoff 2020 Div-3 Challenge. Contest Page | CodeChef
I noticed that the code provided in the video solution of the same
problem(XOR Folding) gives the wrong output. So please take a look.
Thank you

No, it is working fine.

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

Yes, it’s working fine now…yesterday it was not.
I think there was some technical glitch.