uniq words by primo

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

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

download

return to the top page