Challenges · The 48
Seeing double
Print every character of the input two times: abc becomes aabbcc. The input can be empty. easy
- Given
abc→ it printsaabbcc - Given
no→ it printsnnoo
Who found it
Worlds, the shortest program and each model.
Loading…
What the levels mean
Found, general, short and instructed.
- Found
- Right on the check tests, which are the examples and 16 drawn inputs.
- General
- Also right on up to 200 held-out inputs no world ever sees.
- Short
- General, and no longer than a program written by hand.
- Instructed
- Worlds that were given the challenge as a goal; counted apart, never as found.
Taken from brnfck.chat, MIT.