about summary refs log tree commit diff
path: root/day23.opt
diff options
context:
space:
mode:
Diffstat (limited to 'day23.opt')
-rw-r--r--day23.opt26
1 files changed, 26 insertions, 0 deletions
diff --git a/day23.opt b/day23.opt
new file mode 100644
index 0000000..9c3caad
--- /dev/null
+++ b/day23.opt
@@ -0,0 +1,26 @@
+cpy a b
+dec b
+cpy a d
+cpy 0 a
+mul 0 0
+cpy 0 d
+cpy 0 c
+cpy 0 c
+cpy 0 c
+cpy 0 c
+dec b
+cpy b c
+cpy c d
+dec d
+inc c
+jnz d -2
+tgl c
+cpy -16 c
+jnz 1 c
+cpy 75 c
+jnz 78 d
+inc a
+inc d
+jnz d -2
+inc c
+jnz c -5