Haskell Quiz/Countdown
This question was based on a UK game show. Given a target number, a set of source numbers which may be used at most once, and the 4 basic arithmetic operators (+, -, *, /), construct the whole number closest to the target.
The Problem
Solutions
- Graham Hutton (JFP paper)
- Dan Doel