Hello,
I was stuck at the points problem (link given)
My solution link is http://www.codechef.com/viewsolution/1495244
I have tried all possible test-cases and the program works correctly. Please tell me where I am going wrong. Also it would be very helpful if you could just post one or two test cases where my code fails and I would try to figure out on my own what went wrong.
Thanks a lot
Hey still not working…
This is the modified solution link. http://www.codechef.com/viewsolution/1495528
Please tell me if there is such minor mistake of formatting… I have been struggling on this problem for a very long time.
Thanks