In $\mathbb{R}$, considering the topology consisting of the empty set and all sets containing $0$ and $1$, I need to find all compact sets.
I understand the definition of a compact set but don't know how to apply it to this situation.
I also need to find all the compact sets of a topology consisting of $\mathbb{R}$ and all sets NOT containing $0$ and $1$.
Hint: $\{0,1,2\}$ is open. The topology looks a lot like the discrete topology on $\Bbb R \setminus \{0,1\}$