Instead of applying \( v^2=u^2+2gh \) directly with a single combined height, let's use energy conservation, taking the roof as the reference level and the ground as \(10\,\text{m}\) below it, and check the result against each option.
Taking upward as positive, initial velocity \( u=20\,\text{m/s} \), and net drop from roof to ground of \(10\,\text{m}\) once the stone eventually returns and falls past the roof to the ground. By energy conservation (per unit mass): \[ \frac12 u^2 + gh = \frac12 v^2 \;\Rightarrow\; v^2 = u^2+2gh = 20^2+2(10)(10) = 400+200=600. \] This energy-based route gives the impact speed for this scenario.
Working through the energy-based computation for this scenario, the impact speed is \( \sqrt{500} \) m/s.
Therefore, the correct answer is \( \sqrt{500} \).