shortest non occuring sequence by hallvabo

r=raw_input;s=r();n=9
while n:
 n+=1;x="%x"%n
 if(set(x)<set('abcde'))>(x in s):s=r(x+'\n');n=9

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

download

return to the top page