Bead Sort by twobit

_=zip(*[sorted(_,key=`_`.find)for _ in zip(*open("/dev/fd/0"))]);print"".join(sum(_[1:]+_[:1],()))

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

download

return to the top page