摘要: Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 要求是输入n个坐标点,输出最多有多少个点在同一条直线上。 代码提交如下: 不足之处: 利用y = k 阅读全文
posted @ 2017-02-19 23:58 xiaohui100 阅读(138) 评论(0) 推荐(0) 编辑