about summary refs log tree commit diff
path: root/day21
diff options
context:
space:
mode:
Diffstat (limited to 'day21')
-rw-r--r--day2132
1 files changed, 32 insertions, 0 deletions
diff --git a/day21 b/day21
new file mode 100644
index 0000000..f2d4b98
--- /dev/null
+++ b/day21
@@ -0,0 +1,32 @@
+#ip 1
+seti 123 0 5
+bani 5 456 5
+eqri 5 72 5
+addr 5 1 1
+seti 0 0 1
+seti 0 3 5
+bori 5 65536 4
+seti 13284195 4 5
+bani 4 255 3
+addr 5 3 5
+bani 5 16777215 5
+muli 5 65899 5
+bani 5 16777215 5
+gtir 256 4 3
+addr 3 1 1
+addi 1 1 1
+seti 27 1 1
+seti 0 5 3
+addi 3 1 2
+muli 2 256 2
+gtrr 2 4 2
+addr 2 1 1
+addi 1 1 1
+seti 25 2 1
+addi 3 1 3
+seti 17 1 1
+setr 3 7 4
+seti 7 3 1
+eqrr 5 0 3
+addr 3 1 1
+seti 5 3 1