uniq words by leonid

b=[]
while 1:
 for i in raw_input().split():
\x09if(i in b)-1:print i;b+=i,

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

download

return to the top page