Discussion about why my code did not give correct answer on one subtask?

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

this was my solution for the question 2-D Point Meeting (POINTMEE) it gave the correct answer on all subtasks except one!
I don’t know where my solution was lagging and what went wrong !
Please help me out with this
@darshancool25

You could have asked this under official editorial of the problem as well (that way relevant discussions remain at one place), no need to create a new Discuss post !! :slight_smile:

I will take a look when i get time. In the meantime you can have a look at my C++ implementation - Solution: 51054146 | CodeChef

1 Like

Go to the official editorial page. It has one such testcase.
I too had the same problem.