Two Dice of A sides by emoken

s/^/N=0,A=0/
:
/=9*,/s/=/&0/
h
y/0123456789/1234567890/
x
G
s/[^9]9*\(,.*\)\n.*\([^0]0*\),.*$/\2\1/
/=\([13579]\)\1\?,/{h
y/0123456789/1234567890/
x
G
s/,.*,/,/
s/0$/10/}
p
/99/Q
b

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top