3
vector<int> bestCoordinate(vector<vector<int>> &towers, int radius) {7
pair<int, int> ansCoor;8
// Calculate for every 'x's and 'y's9
for (int x = 0; x <= 50; x++) {10
for (int y = 0; y <= 50; y++) {12
for (const auto it : towers) {16
// get the distance between the two points17
int distance = pow(x - xa, 2) + pow(y - ya, 2);18
if (distance > radius * radius) {21
// increment the quality value22
sum += (int)(qa / (1 + sqrt(distance)));24
// store the maximum ans31
return vector<int>{{ansCoor.first, ansCoor.second}};