What is the intended correct calibration value for the following line?:
five3onelxjninenine45
Reading the instructions strictly the answer should be 35
.
However, puzzle makers often try to be “clever” by creating intentionally poor instructions. Which makes me think they might want the answer to be 55
.
You must log in or # to comment.
For part 1 it is 35.
For part 2 it is 55
First and last number, so loop through the characters, ask is it a letter or a number. Find the first and last number in the string and add the strings together and convert it to a number. So you find a 3,4,5 in the line so find the first in the result is 3 and 5 is the last so it becomes 35.