Let $f$ be a strictly increasing function (that is, $f(b) > f(a)$ if $b > a$). Show that $f$ is continuous at at some point.
Hint: Use the fact that uncountably many positive real numbers can not have a finite sum.
This leads me to the following idea. Let $J = \mathbb{R} \setminus f(\mathbb{R})$.
If $J = \varnothing$, then $f$ is surjective. Consider any $x$, and fix $\varepsilon > 0.$
Take $a$ and $b$ such that $f(a) = f(x) - \varepsilon$ and $f(b) = f(x) + \varepsilon.$ Since the function is strictly increasing, we must have $x \in (a,b)$ and for any other $x'$ in the interval we have:
$a < x' < b \implies f(x) < f(x') < f(b) \implies |f(x') - f(x)| < \varepsilon.$
Then choose $\delta = \min \{|x-a|, |x-b| \}$ to ensure $a \leq x - \delta < u < x+\delta \leq b.$ Thus if $|x-u| < \delta,$ we have $|f(x) - f(u)| < \varepsilon$ as desired.
The case that $J$ is countable can be dealt with quite similarly. This leaves the case where $J$ is uncountable, and without loss of generality we can consider $J \cap (0,\infty)$ uncountable as well by considering the function $g$ where $g(x) = f(x) + a$.
This seems to be the point where the hint might come in to play? Any further hints would be greatly appreciated.