If $C$ is a projective integral curve over $\mathbb C$, suppose its arithmetic genus $p_a(C)=1$, then what kind of curve $C$ could be?
According to Hartshorn Ex. 1.8 page 298, if $\tilde C \to C$ is the normalization, then $p_a(\tilde C)+\delta = p_a(C)=1$, hence either $C$ is an elliptic curve or $\tilde C = \mathbb P^1$ and $\delta =1$. Ex. 1.8 (c) claims that node or cusp will have $\delta=1$.
It seems that these are the only possibilities, but why?
$\require{AMScd}$
Expanding on Mohan's answer, let us suppose that that we are in the $\operatorname{length}(F) = 1$ case. Then $F = \mathcal{O}_{C,x}/\mathfrak{m}_x = k(x)$. If $f^{-1}(x) = P + Q$ with $P \neq Q$ then after localizing and completing we have an inclusion $0 \to \widehat{\mathcal{O}}_{C,x} \to \widehat{\mathcal{O}}_{X,P} \oplus \widehat{\mathcal{O}}_{X,Q} \cong \mathbb{C}[[ t_1]]\oplus \mathbb{C} [[t_2 ]]$ and a commutative diagram $$ \begin{CD} \widehat{\mathcal{O}}_{C,x} @>>> \mathbb{C}[[ t_1]]\oplus \mathbb{C} [[t_2 ]]\\ @VVV @VVV\\ k(x) @>>> k(P) \oplus k(Q) \end{CD} $$ where the bottom horizontal map is the diagonal map $\mathbb{C} \to \mathbb{C}^2$. This is a fiber product of $\mathbb{C}$-algebras from which one can see that $\widehat{\mathcal{O}}_{C,x} = \mathbb{C} \oplus t_1 \mathbb{C}[[t_1]] \oplus t_2 \mathbb{C}[[t_2]] \subset \mathbb{C}[[t_1]] \oplus \mathbb{C}[[t_2]]$ which is isomorphic to $\mathbb{C}[[x,y]]/(x^2 - y^2)$.
On the other hand, if $P = Q$ so that $f^{-1}(x) = 2P$ then we have $0 \to \widehat{\mathcal{O}}_{C,x} \to \widehat{\mathcal{O}}_{X,P} \cong \mathbb{C}[[t]]$, $\mathcal{O}_{f^{-1}(x)} \cong \mathbb{C}[[t]]/(t^2)$ and there is a cartesian square $$ \begin{CD} \widehat{\mathcal{O}}_{C,x} @>>> \mathbb{C}[[ t]]\\ @VVV @VVV\\ k(x) @>>> \mathcal{O}_{f^{-1}(x)} \end{CD} $$ where the bottom map is the inclusion $\mathbb{C} \to \mathbb{C}[[t]]/(t^2)$. Then $\mathcal{O}_{C,x} = \mathbb{C}[[t^2, t^3]]$ as a subring of $\mathbb{C}[[t]]$ which is isomorphic to $\mathbb{C}[[x,y]/(y^2 - x^3)$.