max-points-on-a-line

class Solution {
public:
    int maxPoints(vector &points) {
        if(points.size()<3)return points.size();
        int ans=0;
        for(int i=0;imp;
            for(int j=0;j

你可能感兴趣的:(max-points-on-a-line)