diff options
Diffstat (limited to '19')
| -rw-r--r-- | 19/py/d21.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/19/py/d21.py b/19/py/d21.py index 2e39563..3b2e123 100644 --- a/19/py/d21.py +++ b/19/py/d21.py @@ -1,3 +1,14 @@ +# program and idea for part 1: +# jump if any tile of the first three aren't ground and the fourth is ground +# J = (not A or not B or not C) and D +# (dm) <=> J = not (A and B and C) and D +# or A T +# and B T +# and C T +# not T J +# and D J +# walk + import intcode f = open("../input/21", "r").readlines() |
