If the derivatives exist for $x \in [0,1],$ then $f$ and $g$ must be continuous on some open set $A \subset [0,1].$ If $f \neq g$ on $A$ but $f' = g'$ a.e on $A$, then by integrating $f_1 = g_1 + C$, for some constant $C$ locally on open set $A$. However, because all the functions are continuous (locally on A) $f = g + C$ everywhere on $A$. It'sMoreover, it's enough to consider the problem locally, if the derivatives exist. So the answer is $0.$$0,$ if the derivatives exist.
EDIT:(I now try to use FTC locally)