Is the function from $\mathbb{R}$ to $\mathbb{R}$ that maps every compact set to compact set and connected set to connected set continuous?
A characterization of functions from $\mathbb R^n$ to $\mathbb R^m$ which are continuous