All these need to be done in succession, and over different distances. The one who completes all three first, including the changeover time, is the winner. But, the overall duration of a triathlon differs according to the type it is, and the three main types of triathlons are Olympic, Sprint, and Ironman.