uniq words by dekosuke

s=[]
while 1:
 for a in raw_input().split():
\x09if a not in s:s+=a,;print a

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

download

return to the top page