### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,270)
- misc (3)
- project euler (2)
- puzzle (67)
- site news (50)
- tantalizer (69)
- teaser (7)

### Site Stats

- 206,371 hits

Programming Enigma Puzzles

26 December 2018

Posted by on **From New Scientist #1083, 22nd December 1977** [link]

A,B,CandDare all to play each other once at cricket. After some — or possibly all — the matches have been played,Ahad got 18 points,Bhad got 17 andChad got 21. I’m afraid however, that I was not able to find out how many pointsDhad got.Points are awarded as follows:

To the side that wins — 10

To the side that wins on the first innings in a drawn match — 6

To the side that loses on the first innings in a drawn match — 2

To each side for a tie — 5

To the side that loses — 0.Find the results of all the matches that were played.

[puzzle32]

%d bloggers like this:

This puzzle is similar to

Puzzle 59andEnigma 3(also set byEric Emmet). And a similar program works to solve it.This Python program runs in 86ms.

Run:[ @repl.it ]Solution:A vs B: A won on first innings; A vs C: C won on first innings; A vs D: A won; B vs C: tied; B vs D: B won; C vs D: C won.So D got a total of 0 points.