Define the distance between two points i, j max(|xi, xj|, |yi — yj|). Given n points (xi, yi). Find a point (X, Y) so that the sum of distances from this point to n points is minimized.↵
↵
N <= 1e5↵
↵
xi, yi <= 1e9↵
↵
Thanks in advance.
↵
N <= 1e5↵
↵
xi, yi <= 1e9↵
↵
Thanks in advance.