I'm trying to prove that $\frac{\prod \mathbb{Z_p}}{\bigoplus \mathbb{Z_p}}$ is a divisible $\mathbb{Z}$-module (p is prime, and the direct sum and direct product are taken over the set of all primes). It is an exercise from Rotman, An Introduction to Homological Algebra. Here's what I've done so far:
$\bigoplus \mathbb{Z_p}$ is the torsion submodule of $\prod \mathbb{Z_p}$, so the quotient is torsion-free. Since $\mathbb{Z}$ is a PID, then the quotient is flat.
How can flatness help me prove divisibility? Well, since $\frac{\prod \mathbb{Z_p}}{\bigoplus \mathbb{Z_p}}$ is flat then $Hom_\mathbb{Z} \left( \frac{\prod \mathbb{Z_p}}{\bigoplus \mathbb{Z_p}}, \frac{\mathbb{Q}}{\mathbb{Z}}\right)$, the character module, is injective.
And I don't know how to continue. I don't think this is the way to go, but it's what I've tried. Another thing I've observed is that again, since $\mathbb{Z}$ is a PID, then $\frac{\prod \mathbb{Z_p}}{\bigoplus \mathbb{Z_p}}$ is divisible iff it is injective, but once again, I don't know what to do with this.