advent-of-code/solutions/8
2020-12-08 16:41:03 +01:00
..
python 8 2020-12-08 16:41:03 +01:00
data.txt 8 2020-12-08 16:41:03 +01:00
README.md 8 2020-12-08 16:41:03 +01:00
test.txt 8 2020-12-08 16:41:03 +01:00

8

Keep getting better! Today we write a little state machine, love it.

So firstly we remember what oc (Operation Counter) we have already visited and if so we simply stop and return the accumulator.

For I basically run the code many times, inverting nop to jmp and vice versa until i found a working instruction set.

Solutions
  1. 1087
  2. 780