about summary refs log tree commit diff
path: root/day25
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-12-25 15:44:44 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-12-25 15:44:44 +0100
commit43bafa7072da57abab5b35b03f52b09affe7cccc (patch)
tree4f384b416cdaa7b273b701e06de56fc3fb225f73 /day25
parentc9ee6ec46d566125469f4a818e745a570c139803 (diff)
downloadadventofcode2016-master.tar.gz
adventofcode2016-master.tar.xz
adventofcode2016-master.zip
day25 HEAD master
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