Talk:Dinesman's multiple-dwelling problem: Difference between revisions

(futile or trivially useless, pick one)
Line 12:
:::A proper task needs to specify what's allowed and what's not in the input text. The "variation" the python script can cope with are really not much variation at all, consider "Fletcher lives on a floor not adjacent to Miller's, but rather Smith's". Parse <i>that</i>, just the name part, then consider how many other ways that can be expressed in. Writing a parser for a known string isn't really all that useful --
:::And we haven't gotten to the part of optimizing the code itself yet: what happens when there are twenty tenents? J code runs out of memory, every other one takes eaons to complete, if at all. But that's another can of worms. --[[User:Ledrug|Ledrug]] 01:26, 26 June 2011 (UTC)
::::Re-read my first submission on this talk page, written before your C example. It is the very nature of this task to permit "artistic license" and to encourage, but not limit the solutions to examples that parse the problem statement - that is why it is mentioned both here and in the task statement. The task asks for allowing some variation and to show how "easy" it is to vary. <br>I too found it difficult, at first, to give much more than the right answer to maths essay problems. --[[User:Paddy3118|Paddy3118]] 06:10, 26 June 2011 (UTC)
Anonymous user