Personal tools

Haskell Quiz/Countdown

From HaskellWiki

< Haskell Quiz(Difference between revisions)
Jump to: navigation, search
(creation)
Current revision (10:20, 13 January 2007) (edit) (undo)
(+cat)
 
(One intermediate revision not shown.)
Line 7: Line 7:
==Solutions==
==Solutions==
 +
* [http://www.cs.nott.ac.uk/~gmh/bib.html#countdown Graham Hutton] (JFP paper)
* [[Haskell Quiz/Countdown/Solution Dolio|Dan Doel]]
* [[Haskell Quiz/Countdown/Solution Dolio|Dan Doel]]
 +
 +
[[Category:Haskell Quiz|Countdown]]

Current revision

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.

1 The Problem

2 Solutions