Hints for the Challenge:

Below, you can find another hint for the Challenge.

You should only get here after reading, digesting, and applying the .

Hint

We want to eliminate the literal value (currently ) that determines where a copy of the blueprint is inserted in the transcription of the blueprint. Do you remember how we introduced the newline marker | in Hint 14?

We can use an insert-blueprint-here marker, say an at-sign @, in the blueprint to mark the location where the copy of the blueprint needs to be inserted. Of course, that insert-blueprint-here marker needs to be recognized by transcribe(), without actually using it literally. In Hint 26 we suggested the trick of putting such 'forbidden' characters at the beginning of the blueprint and skipping them in transcription.

Can you implement this this idea?

Try your program in the machine, and see if you can extend it to an improved solution.

Apply the Hint

It is your turn ...

Need Another Hint?

If you tried this hint, or do not see how it helps, then you are ready for the .


Valid HTML 4.01 Transitional

Copyright ©2009, Tom Verhoeff, T.Verhoeff@TUE.NL