Derivation (zero ring iff additive and multiplicative identities coincide)
Check that if $R=\set{0}$, then $(R,+,\cdot,0,0)$ is a ring.
Suppose $R$ is a ring with $0_R = 1_R$. Then for all $r\in R$, $$ \begin{align*} 0_R = r\cdot 0_R = r\cdot 1_R = r \end{align*} $$ so $R = \set{0}$.