about summary refs log tree commit diff
path: root/day25
diff options
context:
space:
mode:
Diffstat (limited to 'day25')
-rw-r--r--day2530
1 files changed, 30 insertions, 0 deletions
diff --git a/day25 b/day25
new file mode 100644
index 0000000..49f6e79
--- /dev/null
+++ b/day25
@@ -0,0 +1,30 @@
+cpy a d
+cpy 7 c
+cpy 365 b
+inc d
+dec b
+jnz b -2
+dec c
+jnz c -5
+cpy d a
+jnz 0 0
+cpy a b
+cpy 0 a
+cpy 2 c
+jnz b 2
+jnz 1 6
+dec b
+dec c
+jnz c -4
+inc a
+jnz 1 -7
+cpy 2 b
+jnz c 2
+jnz 1 4
+dec b
+dec c
+jnz 1 -4
+jnz 0 0
+out b
+jnz a -19
+jnz 1 -21