Anonymous user
Dinesman's multiple-dwelling problem: Difference between revisions
Dinesman's multiple-dwelling problem (view source)
Revision as of 14:04, 30 June 2011
, 13 years ago→{{header|Prolog}}: Prolog is THE language for this kind of puzzle? Lets judge the code.
m (→{{header|Prolog}}: Prolog is THE language for this kind of puzzle? Lets judge the code.) |
|||
Line 330:
=={{header|Prolog}}==
Works with SWI-Prolog and library(clpfd) written by '''Markus Triska'''.
Line 429 ⟶ 428:
true ==> predicate succeeded. <br>
false ==> no other solution.
=={{header|PureBasic}}==
<lang PureBasic>Prototype cond(Array t(1))
|