countdown-numbers-game: Solve problems from the number round of the Countdown game show
Solver for the numbers round of the Countdown game show:
That is, given six numbers and a target number, find an arithmetical expression containing exactly those six numbers that yields the target number. The solver however is neither limited to a certain number of operands nor to a certain magnitude of numbers nor to uniqueness of the operands. Please note, that the solver also emits solutions where not all of the given operands are used.
Example:
$ countdown-numbers-solve 23 42 3 4 5 --result 777 (23*3+5)*42/4
The solver employs a brute-force search, but ensures that expressions are unique up to commutativity and associativity. It determines all solutions of a problem within seconds.
Downloads
- countdown-numbers-game-0.0.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0, 0.0.0.1 |
---|---|
Dependencies | base (>=4.5 && <5), non-empty (>=0.3.2 && <0.4), optparse-applicative (>=0.11 && <0.20), utility-ht (>=0.0.11 && <0.1) [details] |
License | BSD-3-Clause |
Author | Henning Thielemann |
Maintainer | haskell@henning-thielemann.de |
Revised | Revision 1 made by HenningThielemann at 2025-06-04T09:47:08Z |
Category | Math |
Home page | https://hub.darcs.net/thielema/countdown-numbers-game |
Source repo | this: darcs get https://hub.darcs.net/thielema/countdown-numbers-game --tag 0.0.0.1 head: darcs get https://hub.darcs.net/thielema/countdown-numbers-game |
Uploaded | by HenningThielemann at 2025-03-25T17:31:36Z |
Distributions | Stackage:0.0.0.1 |
Executables | countdown-numbers-solve |
Downloads | 15 total (5 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2025-03-25 [all 1 reports] |