diff options
Diffstat (limited to 'day15.k')
-rw-r--r-- | day15.k | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/day15.k b/day15.k new file mode 100644 index 0000000..063c739 --- /dev/null +++ b/day15.k @@ -0,0 +1,18 @@ +a:634 +b:301 + +n:40000000 + +u:65536!n{2147483647!16807*x}\a +v:65536!n{2147483647!48271*x}\b ++/u=v / 573 + +/ +/=/'65536!40000000(2147483647!16807 48271*)\634,301 slower + +n:5000000 + +u:{~4!x}#65536!(4*n){2147483647!16807*x}\a +v:{~8!x}#65536!(8*n+4000){2147483647!48271*x}\b ++/(n#u)=(n#v) / 294 + +\\ |