Introduction - If you have any usage issues, please Google them yourself
code to achieve the following questions: a oil company plans to build a major oil pipeline from east to west. The pipeline to pass through an oil n oil wells. From each well must have a pipeline along the shortest path (or South or North) and mains connected. If the oil wells in a given position n, that is, their x coordinates and y coordinates, how to determine the optimal location of the main channel, even if the oil pipeline between the length of pipeline in the sum of the minimum position?