AdventOfCode/2019/day21-p2.springscript

17 lines
229 B
Plaintext
Raw Permalink Normal View History

2019-12-22 01:00:00 +01:00
# Jump if 1 is a hole.
NOT A J
# Jump if there are holes that can be directly jumped.
NOT B T
OR T J
NOT C T
OR T J
# Don't jump if 4 is a hole.
AND D J
# Don't jump if 5 and 8 are holes.
NOT E T
NOT T T
OR H T
AND T J
# Go!
RUN