in reply to Solving Meta Sentences
With this in mind, we can group these letters and their counts to the beginning of the sentence (plus the "and" that appears before "z" plus the remaining letters themselves) giving us an initial sequence of:
"Any Perlmonk could write a sentence using three cs three ds one j two ks two ms two ps one q and one z . a b e f g h i l n o r s t u v w x y"
with only 18 letters left to match instead of 26.
Also notice that there is a minimum of number occurences for each letter. In our running example, "s" cannot appear less than 8 times (highlighted). This should make you start closer to the solution.
Also, "0 no" does not need to be there in the __DATA__ section because all letters exist at least once (in mentioning their names).
I hope these things help you find more solutions faster.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Solving Meta Sentences
by gumby (Scribe) on Jun 12, 2002 at 22:21 UTC |