Milésima

Title maths

The rule. A driver is champion when the second-placed driver can no longer catch them even by scoring everything that is left. As long as scoring everything is enough for the second, the title is still open. Constructors work the same way, counting both their cars.

The formula

If they tie. With the exact gap («gap = Q») the rival can only tie by scoring everything, and the tie-break decides: more wins; if still level, more second places, and so on down. That is why with the exact gap we don't say «can no longer win»: we say «depends on the tie-break».

Limits.

The test cases