Let $(X, d)$ be a compact metric space.
Suppose $f$ and $(f_n)$ are real-valued continuous functions on $X$.
Suppose that, for each $x\in X$, the sequence $(f_n(x))$ is a monotonic sequence converging to $f(x)$.
Show that $(f_n)$ converges uniformly to $f$.
(Hint: Given $\epsilon > 0$, show that the sets $U_n = \{x \in X : | f_n(x) − f (x)| < \epsilon\}, n \in \mathbb{N}$, form an open cover of $X$)
I do not really understand what this hint can do to solve the problem. Thank you.