KMXOR - Editorial (Unofficial) (As i know many of you were near to the solution and you r getting wrong answers)

I think you figured out correct soln… didn’t u ??

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

What is wrong with this solution? Can you please help!

hello @prnjl_rai

your code is giving wrong answer when ‘n’ is odd and k=3.
Add some more cases to it.

Try checking the test cases I gave above and then do let me know if u didn’t found any mistake

So well explained… loved it! :slight_smile:

Thank you so much bro… That feels very good… :slight_smile:

Was my first editorial :slight_smile:

This explanation is really helpful. This editorial is clearer than the Official one!

Thank you so much :slight_smile:
Such comments from u guys really appreciates me to help people who need help and to write more editorials :smiley:

link text

can someone help i got all test cases of above correct