### Random Post

### Recent Posts

### Recent Comments

Hugh Casement on Enigma 1070: Time to work | |

Jim Randell on Enigma 1070: Time to work | |

Jim Randell on Enigma 1070: Time to work | |

geoffrounce on Enigma 440: Three X | |

Jim Randell on Enigma 1588: As easy as 1… |

### Archives

### Categories

- article (11)
- enigma (1,157)
- misc (2)
- project euler (2)
- puzzle (39)
- site news (44)
- tantalizer (42)
- teaser (3)

### Site Stats

- 177,568 hits

Advertisements

This Python program uses the

Football()class from theenigma.pylibrary. It runs in 69ms.Solution:The scores in the matches were: AvB = 1-0; AvC = 0-2; AvD = 8-6; BvC = 0-0; BvD = 0-0; CvD = 0-0.However I think it is possible to argue that there could be a second possible solution.

The scores in the matches could be: AvB = 1-0; AvC = 1-2; AvD = 7-6; BvC = 0-0; BvD = 0-0; CvD = 0-0.

In this scenario the first table looks like:

Both C and A, and B and D have the same number of points, and the same goal difference, so without further information about how the order of tied teams is decided it is possible that the table would be presented in the order above.

The second table would look like:

A and C have swapped positions (as required), and V = 5 does not appear as a letter in the first table, so it is consistent with the problem statement.

This additional solution can be obtained by relaxing the definition of

is_ordered()to: