25
1
Simple challenge: try to output the following text in as few bytes as you can:
the answer
toli fetheuniv
ersea nde ver
ything the ans
wer tol ife the
uni ver sean
dev ery thin
gth ean swer
tolifetheuni ver
seandeveryth ing
the ans wer
tol ifetheuniver
sea ndeverything
The original drawing contains 332 characters.
Rules
- No input or an unused input.
- Output can be in any reasonable format (string, list of strings, matrix of chars and so on).
- You can use uppercase instead of lowercase for the drawing if your prefer so.
- Trailing whitespaces and newlines allowed.
- This is code-golf, so may the shortest program/function for each language win!
Notes
- This has been identified as a possible duplicate of We're no strangers to code golf, you know the rules, and so do I. That question was about searching and replacing text. Here you have to draw a shape using a given text, and at least two of the current answers demonstrate that golfing languages can beat plain compression algorithms in this case.
This comes from the sandbox.
– Charlie – 2017-07-19T06:13:32.733@Phoenix I edited the question, you can check out the clues to see that this challenge may be more about thinking and less about compressing or just making replacements. – Charlie – 2017-07-19T06:53:36.400
@cairdcoinheringaahing
is more about who has the best compression algorithm in their language.
Aren't many kolmogorov-complexity problems so? – officialaimm – 2017-07-19T09:15:17.250ahh~ you finally posted it like this :) @CarlosAlejo – V. Courtois – 2017-07-19T10:05:18.197
1Personally, I think this is on-topic and not a dupe. I don't think you need a spoiler quote, though. – programmer5000 – 2017-07-19T10:15:39.120
@programmer5000 thank you very much for your support. I added the spoiler quote because I considered I needed it to defend my question after the warnings. – Charlie – 2017-07-19T10:18:04.463
1
@Phoenix I don't think this is a dupe, sogl has outgolfed bubblegum. Therefore, compression is not an optimal way of doing this.
– programmer5000 – 2017-07-19T10:34:14.5031To be honest, I didn't realize my reopening vote was binding. For the reasons already mentioned by @programmer5000, I really don't think it's a dupe of We're no strangers.... It may be a dupe of another -- yet to identify -- challenge, but not this one. – Arnauld – 2017-07-19T12:41:29.303
@Arnauld gold [tag:code-golf] badge = mod close/reopen powers! – programmer5000 – 2017-07-19T14:53:12.630
AHHHHHHHHHHHHHH I FRIGGIN LOVE IT! BIGGEST FAN OF THAT SERIES. I READ THE BOOKS, NOT THE MOVIE. THE MOVIE RUINED IT FOR ME. – Magic Octopus Urn – 2017-07-19T23:06:05.467
@MagicOctopusUrn here is the example of what happens when a geek examples. – Christopher – 2017-07-20T01:57:43.660
This is an even better proof that 42 is the answer, than Arthur pulling out scrabble pieces. See how perfectly it fits??? – Nacht - Reinstate Monica – 2017-07-20T06:50:12.667
1@Nacht the best part is that at first I drew the
42
with*
characters, and then replaced them with the text, which fit perfectly. I did not have to modify the original drawing to make the sentence fit. Coincidence? – Charlie – 2017-07-20T06:53:13.980We need an answer in Seed https://esolangs.org/wiki/Seed
– Jerry Jeremiah – 2019-10-31T01:45:21.853