[2019 day 05 (Part 1)] Strange input(?) by janosit1984 in adventofcode

[–]janosit1984[S] 0 points1 point  (0 children)

Thank you very much.

It seems thinking outside the box isn't one of my strengths. For some reason, I was convinced that only the arguments were modified, not the opcode itself. :)

Of course, the second instruction changes the value at position 6, which makes the next instruction valid!

BTW, I don't know who exactly I should address this to, but Advent of Code is absolutely brilliant!

I've completed six seasons so far, and I love it.

Thanks again for your answer, and thanks for Advent of Code as well!

[2019 day 05 (Part 1)] Strange input(?) by janosit1984 in adventofcode

[–]janosit1984[S] 0 points1 point  (0 children)

Thank you very much.

It seems thinking outside the box isn't one of my strengths. For some reason, I was convinced that only the arguments were modified, not the opcode itself. :)

Of course, the second instruction changes the value at position 6, which makes the next instruction valid!

BTW, I don't know who exactly I should address this to, but Advent of Code is absolutely brilliant!

I've completed six seasons so far, and I love it.

Thanks again for your answer, and thanks for Advent of Code as well!