This commit is contained in:
yeenow123 2019-10-06 19:01:58 +00:00 committed by GitHub
commit 988aee7362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ so the median is 2.
The median is an optimal choice,
because if $x$ is smaller than the median,
the sum becomes smaller by increasing $x$,
and if $x$ is larger then the median,
and if $x$ is larger than the median,
the sum becomes smaller by decreasing $x$.
Hence, the optimal solution is that $x$
is the median.