Ghost leg solver by rst76(embed)

main=interact(\x->x++'\n':take 9x!sum[1|'-'<-x])
x!0=x
_!8="B D C A E"
x!_=reverse x

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

download

return to the top page