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!
Thank you so much bro… That feels very good…
Was my first editorial
This explanation is really helpful. This editorial is clearer than the Official one!
Thank you so much
Such comments from u guys really appreciates me to help people who need help and to write more editorials