summaryrefslogtreecommitdiff
path: root/2018/19_notes.txt
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-12-21 23:49:19 +0100
committertomsmeding <tom.smeding@gmail.com>2018-12-21 23:51:41 +0100
commitdc9ba8162ff0a17fbafd6d589e53cdce1eada1b0 (patch)
tree6a6265debd3021d2433494f4819f9665d87eb111 /2018/19_notes.txt
parent7293b9eec77079a35d1e2ef3442fbce95a28c307 (diff)
Clean up day 19 and device code
Diffstat (limited to '2018/19_notes.txt')
-rw-r--r--2018/19_notes.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/2018/19_notes.txt b/2018/19_notes.txt
new file mode 100644
index 0000000..c6c5532
--- /dev/null
+++ b/2018/19_notes.txt
@@ -0,0 +1,6 @@
+r0 = input();
+if r0 == 0: r3 = 948
+elif r0 == 1: r3 = 10551236
+else: assert False
+
+r0 = sum_of_divisors_of(r3)