1.1-Introductie-Programmeren

Formula 1 starting grid

Difficulty: Filled Filled Filled

Before a Formula 1 race, drivers compete in a qualifying round to determine who may start the race at the front of the grid. Whoever has the fastest lap time starts the race at the first position, the second fastest at the second position, and so on. Cars are lined up in rows of two, the first position is on the left side of the track.

Write a program that shows the starting grid for the race, based on a list of lap times.

Example

Example