This is highly reminiscent of the numbers game from the British daytime gameshow Countdown.
Contestants are given a choice of six numbers, from which they can choose how many big (25, 50, 75, 100) and small (1-10), and are then given a random three digit number. Closest within 30 seconds using standard operations wins.
Contestants are given a choice of six numbers, from which they can choose how many big (25, 50, 75, 100) and small (1-10), and are then given a random three digit number. Closest within 30 seconds using standard operations wins.
https://github.com/nshkrdotcom/digits_py/blob/main/foo.py
https://projecteuler.net/problem=828