Y by MS_asdfgzxcvb
Let
be a set of 2025 positive real numbers. For a subset
, define
as the median of
when all elements of
are arranged in increasing order, with the convention that
. Define
Find the smallest real number
such that for any set
of 2025 positive real numbers, the following inequality holds:
where
denotes the largest element in
.






![\[
P(A) = \sum_{\substack{T \subseteq A \\ |T| \text{ odd}}} M_T, \quad Q(A) = \sum_{\substack{T \subseteq A \\ |T| \text{ even}}} M_T.
\]](http://latex.artofproblemsolving.com/1/d/f/1df2ea8487289111939a53dcc49576fbe6fdef37.png)


![\[
P(A) - Q(A) \leq C \cdot \max(A),
\]](http://latex.artofproblemsolving.com/c/d/e/cdea343d11c722a423e857aeb01202863405773e.png)

