Countdown Tools
Keine Lizenz
Tools to find all the solutions to the countdown letters and numbers games.
The letters game includes a large public domain dictionary from the Moby project.
See http://www.dcs.shef.ac.uk/research/ilash/Moby/
Here is an example of the use of each.
lettersgame('plainersz')
Found 139 x 4 letters
Found 146 x 5 letters
Found 62 x 6 letters
Found 14 x 7 letters
plainer
praline
alpines
spaniel
splenia
aliners
nailers
renails
paniers
rapines
planers
replans
panzers
pilsner
Found 1 x 8 letters
pralines
Found 0 x 9 letters
ans =
[] [] [] [139x4 char] [146x5 char] [62x6 char] [14x7 char] 'pralines' ''
>> [e,a]=numbersgame(929,[3 7 75 8 6 1])
e =
'(((7+3)x8+75)x6-1)'
'(((75-3)x(7+6)+1)-8)'
'(((75-3)x(7+6)-8)+1)'
'((75-3)x((8+6)-1)-7)'
'((75-3)x((8-1)+6)-7)'
'((75-3)x(7+6)-(8-1))'
'((75-3)x(8+(6-1))-7)'
a =
929
Zitieren als
Murphy O'Brien (2024). Countdown Tools (https://www.mathworks.com/matlabcentral/fileexchange/7477-countdown-tools), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Now uses a text file instead of m file as the dictionary for portability. |