Well, if only one point is off, as suggested in the stimulus, then the other 4 are on the line. If there are two pairs of coordinates, each pair forms a line, and two lines are parallel, then these 4 coordinates are on the same line! If not, there will be at least 2 points off the line. -- by 会员 sdcar2010 (2011/4/8 8:54:42)
Agree. Check their slop. Say pick point A, check the slop corresponding to other points. If they are on the same line, slop should be the same. If we found any point has different slop, then this point is not on the same line. If we found all slop are different for other points, then, A is not on the same line.
Any comment? |