24 game/Solve: Difference between revisions

→‎Minimal version: marked incorrect
(→‎Minimal version: The Prolog output works because // is integer division, meaning 2//9 rounds down to 0, and (3*8)-0 is 24. Also fixed typo)
(→‎Minimal version: marked incorrect)
Line 5,587:
</pre>
===Minimal version===
{{incorrect|Prolog|Does not follow 24 game rules for division: <quote>Division should use floating point or rational arithmetic, etc, to preserve remainders.</quote>}}
{{Works with|GNU Prolog|1.4.4}}
Little efforts to remove duplicates (e.g. output for [4,6,9,9]).
10,327

edits