Hacker News new | ask | show | jobs
by LandR 2391 days ago
Day 2 part 2, what is it actually asking?

I can't tell from the description what the actual puzzle is...

Is it that I need to generate a program that generates the output 19690720 when run through the function that was written in part 1?

2 comments

In the first problem they told you what numbers to put in position 1 and 2. In the second problem you want to find the specific numbers for position 1 and 2 that yield the desired output.
Ah ok, thanks!

My reading comprehension obviously needs some work :P

you need to find value of memory[1] & memory[2] where memory is the program from first part, which gets you 19690720
Thanks, five minutes to write the code and get an answer, half an hour staring at it wondering what on earth I was actually supposed to do....

Feel like a bit of an idiot.

So, just like most days as a programmer?