f:#1_{*{x}#(-:\+/10\x)!'x}\
f:#1_{*((-:\+/10\x)!'x)^0}\
z@*>f'z
(a;b;c):1 2 3
(*/:).!'2#
entr
n m/y
y
x
*/y#x
y(x*)/1
oom
s:{(,x)!0N}'!pr / hashtable: positions -> score H:5/ g:{(s@pr!h)@h:H@x} / get p:{s[pr!h;h:H@x]:y;} / put
s:{(,x)!x}'!10
s[0]:s[0],(,3)!4
0N 3!0 4
s:10#,((,0N)!0) s[0],:(,3)!4 s[0] 0N 3!(0 0N;0N 4)
#{(!0)!!0}'100#0
#
'
pr:1000003 / prime s:pr#,() / hashtable: positions -> score h:5/ / hash g:{*|*(*'h=)#s@pr!h:h@x} / get p:{s[pr!h]:(,h,y),s[pr!h:h@x];} / put
100#,((!0)!0)
1 1 1 2 2 {fr[x].y}/((1;3);(2;4))
1=#?
&':
=':
5:
w:{"/dev/stdout"0:`k@x}
f[9;"DyalogAPL"]
{(x#y;x_y)1 0=x<0}
<
>