Simplify day 21 part 2

master
Nick Krichevsky 2019-12-24 11:36:43 -05:00
parent 05e6b6e4fd
commit 3c77bf54fc
1 changed files with 2 additions and 2 deletions

View File

@ -225,8 +225,8 @@ def part2(memory: Memory) -> int:
'AND D J',
# 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
'NOT F T',
# J(~J + E + H) distributes TO (E + H)
'NOT J T',
'OR E T',
'OR H T',
# If this condition isn't met, cancel our jump