Challenges · The 48
The last one
Print only the last character of the input. If the input is empty, print nothing. easy
- Given
hello→ it printso - Given
ab→ it printsb
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.