All three together.
Let the radius of R's track be
and let the radius of the first semicircle
of P's track be
; then the radius of the second semicircle of this track
is
. The total length of P's track is
, the same
as the length of R's track. By a similar argument, the length of Q's track
is also
, so all three runners finish at the same time.