3
int visiblePoints(vector<vector<int>> &points, int angle, vector<int> &location) {6
for (auto point : points) {7
if (point[0] == location[0] && point[1] == location[1])10
double ang = atan2(point[1] - location[1], point[0] - location[0]) * 180.0 / M_PI;11
if (ang < 0) ang += 360;15
sort(pa.begin(), pa.end());18
for (int i = 0; i < n; i++) pa.push_back(pa[i] + 360);19
for (int r = 0; r < pa.size(); r++) {20
while ((pa[r] - pa[l]) > angle) l++;21
ret = max(ret, r - l + 1);23
return ret + at_start;