come on.. 梦回汉朝- this solution is toooooooo simple and makes your question look stupid. u gives us a very good question but r u sure you know the answer???
i do not think the solution is that simple when you considering some points may have the same X or Y values!
i do not think the solution is that simple when you considering some points may have the same X or Y values!