In the 100-m sprint, the displacement is 100 meters and the distance is 100 meters. This means speed and velocity are the same for the 100-m sprint. In the 400-m sprint, the distance is 400-m, but the runners stop at the same place they start so the displacement is zero. Zero displacement means zero velocity.
yw!