about summary refs log tree commit diff
path: root/day25.k
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-12-25 16:36:21 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-12-25 16:36:21 +0100
commit98efd9c456972f8b9fcfb7c00b4f5edb8dab218d (patch)
tree1210557b5704668aa38959050d221d86a34d1f92 /day25.k
parentb7139aec67506ba6b7efa9f65ebe7d8ecbdfdd14 (diff)
downloadadventofcode2015-98efd9c456972f8b9fcfb7c00b4f5edb8dab218d.tar.gz
adventofcode2015-98efd9c456972f8b9fcfb7c00b4f5edb8dab218d.tar.xz
adventofcode2015-98efd9c456972f8b9fcfb7c00b4f5edb8dab218d.zip
day25 HEAD master
Diffstat (limited to 'day25.k')
-rw-r--r--day25.k6
1 files changed, 6 insertions, 0 deletions
diff --git a/day25.k b/day25.k
new file mode 100644
index 0000000..b56d68f
--- /dev/null
+++ b/day25.k
@@ -0,0 +1,6 @@
+m:{x++/!x+y-1};
+c:{x{(x*252533)!33554393}/20151125};
+
+c[m[3083;2978]-1]
+
+/ 2650453