It'd be great if someone checked the proof I did for the following problem:
$f:X\longrightarrow Y$,
$f(\overline{A})\subseteq \overline{f(A)},\forall A\subseteq X \Leftrightarrow f$ continuous
proof:
Suppose $f(\overline{A})\subseteq \overline{f(A)}$ for any $A\subseteq X$ . Let $C\subseteq Y$ be closed and define $A=f^{-1}(C)$. $f(\overline{A})\subseteq \overline{f(A)}\subseteq\overline{C}=C$, therefore $\overline{A}\subseteq f^{-1}(C)=A$, so $A$ is closed.
*Conversely, suppose $f$ is continuous.
Let $p\in\overline{A}$ and let $V$ be an open neighborhood of $f(p)$. Since $f$ is continuous, $f^{-1}(V)$ is open. On the other hand $p\in f^{-1}(V)$, but since $p\in\overline{A}$ we have that $f^{-1}(V)$ contains points of $A$. Therefore $V$ contains points of $f(A)$. Since $V$ is an arbitrary neighborhood of $f(p)$, we have $f(p)\in \overline{f(A)}$. So finally, $f(\overline{A})\subseteq\overline{f(A)}$.
Thank you very much!