I am not able to find where my code is going wrong, it is giving correct answer for cases I tested. If anyone can at least suggest me one case where this is incorrect.
https://www.codechef.com/viewsolution/32391340
Thank you!
Help requested…
I am not able to find where my code is going wrong, it is giving correct answer for cases I tested. If anyone can at least suggest me one case where this is incorrect.
https://www.codechef.com/viewsolution/32391340
Thank you!
Help requested…