Anonymous user
24 game/Solve: Difference between revisions
→{{header|AutoHotkey}}: Y'all need to upgrade: AHK_L's been standard for years
(→{{header|Go}}: library change) |
(→{{header|AutoHotkey}}: Y'all need to upgrade: AHK_L's been standard for years) |
||
Line 612:
=={{header|AutoHotkey}}==
{{works with|AutoHotkey_L}}
Output is in RPN.
<lang AHK>#NoEnv
Line 733 ⟶ 734:
And for 8338:
<pre>8 3 8 3/-/</pre>
=={{header|C}}==
This is a solver that's generic enough to deal with more than 4 numbers, goals other than 24, or different digit ranges. It garantees a solution if there is one. Its output format is reasonably good looking, though not necessarily optimal.
|