archchroot

u/archchroot


r/adventofcode•

However, the output from amplifier E is now connected into amplifier A's input. This creates the feedback loop: the signal will be sent through the amplifiers many times.

I've read the question a few times and I am still quite confused with exactly how it is supposed to work.

Does this mean:

  • Amp A reaches opcode 4, outputs, but has yet to halt (99), pauses execution
  • Amp B starts, takes in phase as input, then takes in Amp A's output as input, then runs until it reaches opcode 4, outputs, has yet to halt, but pauses execution
  • and so on...
  • after Amp E outputs, pauses executions
  • Amp A restarts execution from where it left off, taking in Amp E's output as input the next time it
9184





You've reached the end of this feed.