diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-12-20 17:39:49 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-12-20 17:39:49 +0100 |
commit | 67faf96ffc32e8498bb7f90499bcc3e47fb7e0a3 (patch) | |
tree | 4b02b7b2096d1ba7cf4b2fa63d61226eaead66c6 /day20.k | |
parent | bff8b596a3a6ff4b363801fa058f1f35bc328ecf (diff) | |
download | adventofcode2015-67faf96ffc32e8498bb7f90499bcc3e47fb7e0a3.tar.gz adventofcode2015-67faf96ffc32e8498bb7f90499bcc3e47fb7e0a3.tar.xz adventofcode2015-67faf96ffc32e8498bb7f90499bcc3e47fb7e0a3.zip |
day20
Diffstat (limited to 'day20.k')
-rw-r--r-- | day20.k | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/day20.k b/day20.k new file mode 100644 index 0000000..654ba49 --- /dev/null +++ b/day20.k @@ -0,0 +1,9 @@ +d:33100000; + +/ takes ages without a good guess. ;) + +e:{10*y*~x!y} +(1+)/[{d>+/e[x]'!x+1};776150] + +e2:{(x<50*y)*11*y*~x!y} +(1+)/[{d>+/e2[x]'!x+1};786235] |