Description: First of all, define two object a definition of a x, y and its label, another object is the distance between two points. Then use of the comparative bubbling point x, y sorting respectively, write console application, input the number of points, divided into two kinds of methods for recently to point. According to the number of points divided into 3 point the situation and the greater than three points of the situation, the 3 point directly to the two the distance between the two comparison. More than three points with partition of the recursive method to solve, through the delimit limits points and eight pieces of other 7 didn t 1:00 only block point comparison for the most short length at last.
To Search:
File list (Check if you may need any files):
lab22.cpp