Implement day 23.

Could use some optimization, but it works.
This commit is contained in:
2018-11-14 12:50:53 +01:00
parent 0132627341
commit b35d785d69
4 changed files with 140 additions and 24 deletions

26
2016/inputs/23.txt Normal file
View File

@@ -0,0 +1,26 @@
cpy a b
dec b
cpy a d
cpy 0 a
cpy b c
inc a
dec c
jnz c -2
dec d
jnz d -5
dec b
cpy b c
cpy c d
dec d
inc c
jnz d -2
tgl c
cpy -16 c
jnz 1 c
cpy 84 c
jnz 71 d
inc a
inc d
jnz d -2
inc c
jnz c -5