From a quick sprint to a grueling long-distance test, every race has a precise distance that defines it.