Bead Sort by hallvabo

J=''.join
print J(map(J,zip(*[sorted(e,key=J(e).find)[1:]+[e[0]]for e in zip(*open('/dev/fd/0'))])))

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

download

return to the top page