### Random Post

### Recent Posts

- Tantalizer 450: Marriage problems
- Enigma 1057: Recycled change
- Enigma 452: Figure out these letters
- Puzzle 46: I lose my specs
- Enigma 1058: A row of colours
- Enigma 451: Double halved
- Tantalizer 451: Death rates
- Enigma 1059: Century break
- Enigma 450: A pentagonal problem
- Puzzle 48: Verse on the island

### Recent Comments

Jim Randell on Tantalizer 450: Marriage … | |

Brian Gladman on Enigma 1057: Recycled cha… | |

Jim Randell on Enigma 1057: Recycled cha… | |

geoffrounce on Enigma 452: Figure out these… | |

Jim Randell on Enigma 452: Figure out these… |

### Archives

### Categories

- article (11)
- enigma (1,183)
- misc (2)
- project euler (2)
- puzzle (46)
- site news (46)
- tantalizer (50)
- teaser (3)

### Site Stats

- 184,975 hits

Advertisements

This Python 3 program uses analysis to narrow down possible scoring patterns, then constructs a pattern to show the solution is achievable. It runs in 58ms.

This program also uses the

first()routine from theenigma.pylibrary, which returns the first few items of an iterator (defaulting to 1 item) as a list. It is a simplification ofitertools.islice().Solution:There were 5 couples in the tournament (10 individual players). There were no games in which a man beat a woman.The following diagram shows the winner in each of the matches. The male players are numbered from 1 to 5, and male vs. male matches are shown in blue. The female players are numbered from 6 to 10, and female vs. female matches are show in pink. The remaining matches, shown in orange, are male vs. female matches (and are always won by the female player). The column on the right hand side shows the number of matches won by each player.