[guided]Let $f\in\mathcal{F}$ be one of the functions appearing in the multilinear expansion. The determinant is alternating in its columns, meaning that if two columns are equal, then the determinant is $0$. If $f$ is not injective, there exist distinct indices $j,k\in\{1,\dots,n\}$ such that $f(j)=f(k)$. Then the $j$-th and $k$-th columns of
\begin{align*}
\det(e_{f(1)},\dots,e_{f(n)})
\end{align*}
are both the same standard basis vector $e_{f(j)}=e_{f(k)}$, so alternation gives
\begin{align*}
\det(e_{f(1)},\dots,e_{f(n)})=0.
\end{align*}
Thus every non-injective choice contributes zero to the expansion.
It remains to identify which functions are injective. The domain and codomain of $f$ are both the finite set $\{1,\dots,n\}$, so an injective function $f:\{1,\dots,n\}\to\{1,\dots,n\}$ is automatically bijective. Conversely, every bijection is injective. Therefore the surviving functions are exactly the permutations of $\{1,\dots,n\}$, namely the elements of $S_n$. Removing the zero terms from the multilinear expansion gives
\begin{align*}
\det A
=
\sum_{f\in S_n}
\left(\prod_{j=1}^n A_{f(j),j}\right)
\det(e_{f(1)},\dots,e_{f(n)}).
\end{align*}[/guided]