Advent 2017 input21 through input24

This commit is contained in:
Peter Norvig
2017-12-24 22:40:38 -08:00
committed by GitHub
parent 269974a6f2
commit f768f0d65a
4 changed files with 222 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
set b 99
set c b
jnz a 2
jnz 1 5
mul b 100
sub b -100000
set c b
sub c -17000
set f 1
set d 2
set e 2
set g d
mul g e
sub g b
jnz g 2
set f 0
sub e -1
set g e
sub g b
jnz g -8
sub d -1
set g d
sub g b
jnz g -13
jnz f 2
sub h -1
set g b
sub g c
jnz g 2
jnz 1 3
sub b -17
jnz 1 -23