Getting partially correct answer for IRSTXOR

Need help with implementation of the approach by 'learn competitive programming with codechef’s video tutorial for IRSTXOR problem.

Question: IRSTXOR Problem - CodeChef
Video tutorial: - YouTube
My solution: CodeChef: Practical coding for everyone

Please help.

Use Long Long int!!!

1 Like

Yes, it helped. Thanks :slight_smile:

1 Like