summary refs log tree commit diff homepage
path: root/input
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-12-12 00:33:31 -0500
committerJune McEnroe <programble@gmail.com>2016-12-12 00:33:31 -0500
commite838547874f00a7ee30de0f6abf113edc4cc23a9 (patch)
tree81a6ab0a5d6df710ea46d3c1f29b8a4a4d150bf7 /input
parentDay 10 part 2 (diff)
downloadaoc-e838547874f00a7ee30de0f6abf113edc4cc23a9.tar.gz
aoc-e838547874f00a7ee30de0f6abf113edc4cc23a9.zip
Day 12
Diffstat (limited to 'input')
-rw-r--r--input/day12.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/input/day12.txt b/input/day12.txt
new file mode 100644
index 0000000..b74bbbc
--- /dev/null
+++ b/input/day12.txt
@@ -0,0 +1,23 @@
+cpy 1 a
+cpy 1 b
+cpy 26 d
+jnz c 2
+jnz 1 5
+cpy 7 c
+inc d
+dec c
+jnz c -2
+cpy a c
+inc a
+dec b
+jnz b -2
+cpy c b
+dec d
+jnz d -6
+cpy 16 c
+cpy 12 d
+inc a
+dec d
+jnz d -2
+dec c
+jnz c -5