I'm trying to find $\mathrm{Ext}_\mathbb{Z}^n(\mathbb{Z},\mathbb{Z})$, which involves computing the homologies of \begin{equation} 0\leftarrow \mathrm{Hom}_\mathbb{Z}(\mathbb{Q},\mathbb{Z})\leftarrow \mathrm{Hom}_\mathbb{Z}(\mathbb{Q}/\mathbb{Z},\mathbb{Z})\leftarrow 0. \end{equation}
I got the complex above by taking the injective resolution $0\rightarrow \mathbb{Z}\rightarrow \mathbb{Q}\rightarrow \mathbb{Q}/\mathbb{Z}\rightarrow 0$ and applying $\mathrm{Hom}_\mathbb{Z}(\_,\mathbb{Z})$.
I think $\mathrm{Hom}_\mathbb{Z}(\mathbb{Q}/\mathbb{Z},\mathbb{Z})=0$ because every element in $\mathbb{Q}/\mathbb{Z}$ has finite order, while no nonzero element in $\mathbb{Z}$ does.
I also think $\mathrm{Hom}_\mathbb{Z}(\mathbb{Q},\mathbb{Z})=0$ because if we set $f(1)=a$ then for all $m\in \mathbb{Z}$ we have $mf(1/m)=a$, implying $a$ is divisible by every integer, forcing $a=0$ and hence $f=0$.
But, I thought that $\mathrm{Ext}^0(\mathbb{Z},\mathbb{Z})=\mathrm{Hom}(\mathbb{Z},\mathbb{Z})=\mathbb{Z}$. Any help identifying my mistake would be appreciated.