In this challenge, you'll need to edit a grid of characters to make a program that does a task, while ensuring that you leave a lasting mark on the grid.
Task
The task to perform is determined by when you answer. Specifically, for the n
th answer, divide n
by 5, and if the remainder is...
- 0. Read a positive integer from STDIN (or closest alternative) and print its square.
- 1. Print the value of n9-n8+n7-...-n2+n-1.
- 2. Read a string from STDIN (or closest alternative) and print it, reversed.
- 3. Print the name of the language being used.
- 4. Print the first 99 Fibonacci numbers, with some delimiter.
In all cases, "print" means to STDOUT or closest alternative. Leading or trailing whitespace is okay. A full program is required, not just a function.
Answering (please read before posting)
This is a "sequential answering" challenge. Answers have a specific order. If the previous answer, chronologically, was titled Answer
n
, your answer should be titled Answern+1
.
All answers are 100 characters (in printable ASCII) long, divided into ten rows. Each row is separated by a newline. I have already posted the first answer.
Once an answer has been verified by another user (in a comment), any user, except for the one who gave the previous answer, can submit the next answer, pursuant to the following rules:
For each answer after the first, change at least one character (but not newlines) in the previous answer to another printable ASCII character achieve the correct task. You may not add, remove, or move any characters. You may use any language with a readily available compiler or interpreter.
Furthermore, you must specify one character you changed to be your "mark". You want to maximize the longevity of your mark. If your mark is first changed by the answer five after yours, its lifespan is 4 (four other answers left it untouched). If no one ever removes your mark, then the lifespan is the total number of other answers after it.
If you answer multiple times, you may have multiple existing marks at once.
If your answer is found incorrect, please delete it if there are no subsequent valid answers. Otherwise, do not delete or change your answers.
Scoring
Your score is the sum of your marks' longevities, divided by the total number of characters you changed. Subtract 5% from your score for each answer past the first.
For example, suppose I answer three times. First with 5 changes and a mark longevity of 3, then 4 changes and 20, then 1 change and a longevity of 7. My score is now ((3 + 20 + 7) / (5 + 4 + 1)) * (100% - 10%) = 2.7.