摘要:
Problem:Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.Suppose that the structure Point is already defined in as following:/** * Definition for a point. * struct Point { * int x; * int y; * Point() : x(0), y(0) {} * Point(int a, int... 阅读全文
posted @ 2014-01-10 10:53 卢泽尔 阅读(2351) 评论(1) 推荐(0)
浙公网安备 33010602011771号