Talk:24 game/Solve: Difference between revisions

(→‎Python Solution incomplete?: Declare 'em and everything's sweet)
Line 10:
:::: If external libraries are un-Pythonic, I suppose solutions [http://xkcd.com/353/ involving antigravity] are out of the question... --[[User:Short Circuit|Michael Mol]] 11:16, 2 November 2009 (UTC)
:::: I think it's perfectly OK to invoke external libraries – you'd have to do that in many other languages anyway – but if that's done, they should be properly declared with the right <nowiki>{{template}}</nowiki> so that it's easy to see what's going on. (Internal libs, by which I mean ones that are included with standard distributions of the language, don't need such extra declarations.) —[[User:Dkf|Donal Fellows]] 11:35, 2 November 2009 (UTC)
 
== Should we enumerate all solutions? ==
 
It turns out to take almost no time at all to enumerate all the possible solutions, as there's only 7680 (5 fundamental parse structures, 24 mappings of digits to the leaves, and 64 mappings of operators to the branches). Hence, is it acceptable to produce all the solutions? Or only the first one found? –[[User:Dkf|Donal Fellows]] 13:53, 2 November 2009 (UTC)
Anonymous user