Simplify day 21 part 2

This commit is contained in:
Nick Krichevsky 2019-12-24 11:36:43 -05:00
parent 05e6b6e4fd
commit 3c77bf54fc

View file

@ -225,8 +225,8 @@ def part2(memory: Memory) -> int:
'AND D J', 'AND D J',
# Check to make sure that the space after our jump is filled, and two jumps away. # Check to make sure that the space after our jump is filled, and two jumps away.
# The one after two our jump should also be empty # J(~J + E + H) distributes TO (E + H)
'NOT F T', 'NOT J T',
'OR E T', 'OR E T',
'OR H T', 'OR H T',
# If this condition isn't met, cancel our jump # If this condition isn't met, cancel our jump