I don’t understand what is my mistake. help me with this one. it’s working fine with all my testcases.
https://www.codechef.com/viewsolution/37846436