Let $X\subset \mathbb{R}$ and let $f,g:X \to X$ be continuous functions such that $f(X)\cap g(X)=\emptyset$ and $f(X)\cup g(X)=X$. Which one of the following sets cannot be equal to $X$?
A) $[0,1]$
B) $(0,1)$
C) $[0,1)$
D) $\mathbb{R}$
I don't know how I go through this problem. I think I have to choose some function to get the correct option but I can't. Thank you for help.