DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

ykny
ykny

Posted on

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

Top comments (0)

Take Your Github Repository To The Next Level

Take Your Github Repository To The Next Level πŸš€οΈ: A step-by-step guide on creating the perfect Github repository.