Sunday Times Teaser 3182 – Stand and be Counted
by Colin Vout
Published Sunday September 17 2023 (link)
When bad light ended the first day’s play, the total score was 182 with three batters having been “out” during the day.
In the successive stands, the lower-numbered and the higher-numbered batters scored in the ratios 7:3, 10:7, 1:11 and 11:19, in that order. The total score was the sum of the scores of the five batters.
The third batter was the highest scorer.
[In cricket the batting team starts with batters 1 and 2 together, and each is able to score. When one of them is “out” the third batter comes “in” to replace them, when one of that pair is out the fourth batter comes in, and so on. The amount by which the team score has increased while a particular pair is together is called the “stand”.]
What were the scores of all the batters, in their batting order?
As requested a pure Python version.