### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,383)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (56)
- site news (61)
- tantalizer (101)
- teaser (7)
- today (1)

### Site Stats

- 240,806 hits

Programming Enigma Puzzles

8 May 2019

Posted by on **From New Scientist #1074, 20th October 1977** [link]

In the following football puzzle letters have been substituted for digits. The same letters stand for the same digit whenever it appears, and different letters stand for different digits. Three teams —

A,BandC— are to play each other once, and the table below gives some information about numbers of matches played, won, lost, etc., after some — or perhaps all — of the matches had been played.Find the score in each match.

[puzzle23]

%d bloggers like this:

We can solve this puzzle using the [[

`Football()`

]] helper class from theenigma.pylibrary.This Python program runs in 80ms.

Run:[ @repl.it ]Solution:The scores in the played matches are: A vs C = 3-4; B vs C = 2-3.The A vs B match is not yet played.