shortest non occuring sequence by twobit

while 1:print min([`x`.translate("aaaabcde"*32)for x in range(5e4)],key=raw_input().find)

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

download

return to the top page