Advent of Code 2019, Day5, Part2

ykny

ykny

Posted on February 25, 2020

Advent of Code 2019, Day5, Part2

Hello!

Can someone explain the various input programs provided for part 2. I see nothing is wrong with my logic in terms of implementing for part 2, but I am unsure how to check against the various input programs. It asks me to input 8 and I am supposed to obtain an output (1, if input is 8, 0 otherwise). I am not sure where this input is being checked, except for opcode 3 and 4.
Also, would the first position in memory contain the final output diagnostic code?

Thank you

πŸ’– πŸ’ͺ πŸ™… 🚩
ykny
ykny

Posted on February 25, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related