Distance from x 2 by xsot (mitchs)

import re,os
a=os.read(0,109).replace(*'o-')
for d in range(20):d/=2;a=re.sub('x|\.(?=(|[^z]{10})%s)'%~-d,`d`,a[::-1])
print a

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

download

return to the top page