原题描述如下:
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
给定2维平面的N个点,找出共线的最多的点。
分析如下,初中知识,任何不相同的两点确定一条直线。