Let $f$ be a real-valued function(not necessarily continuous) on $\mathbb R^n$ with the property that for any $x\in \mathbb R^n $ and $\epsilon>0$, there is $\delta>0$ such that $f(y)>f(x)-\epsilon$ for all $y\in \mathbb R^n$ with $||y-x||<\delta$. Show that if $\lim_{||x||\to\infty}f(x)=1\ge f(c)$ for some $c \in \mathbb R^n$, then $f$ has a minimum value on $\mathbb R^n$.
I have no idea how to deal with this question. If $f$ were continuous, I would try the solution here, but I can't because there is no statement that $f$ is continuous. What should I do?