title: Sum Manhattan Distances Pairs Points
signature: func sumManhattanDistancesPairsPoints(x []int, y []int, n int) int {
source_py: def sum_manhattan_distances_pairs_points(x, y, n):
      sum = 0
      for i in range(n):
          for j in range((i + 1), n):
              sum += (abs((x[i] - x[j])) + abs((y[i] - y[j])))
      return sum
source_cpp: int sum_manhattan_distances_pairs_points(vector<int> x, vector<int> y, int n) {
    int sum = 0;
    for ( int i = 0;
    i < n;
    i ++ ) for ( int j = i + 1;
    j < n;
    j ++ ) sum += ( abs ( x [ i ] - x [ j ] ) + abs ( y [ i ] - y [ j ] ) );
    return sum;
  }