Re: Perl 'Expert' Quiz of the Week #25 (acrostic puzzle generator)

Mark Jason Dominus <[email protected]> Wed, 06 Oct 2004 13:42:22 -0400
Newsgroups gmane.comp.lang.perl.qotw.discuss
Message-ID <[email protected]>
"John J. Trammell" <[email protected]>:
> In a similar vein, the specification requires in part:
> 
> >>>> 4. The letters in the output can be rearranged to form the
> >>>>    quotation, with no letters left over.
> 
> Letter #24 in the example is contained in both answers (c) and (e), so
> it appears that answer letter duplication is OK, but all answer letters
> must be represented in the quotation text.

No, I botched the example.  Each letter in the answers is used once
and only once in the quotation.

> It appears to me that a consequence of this is that if the author name
> or source includes letters not in the quotation, the problem is
> insoluble.  Is this correct?

Yes.