view bin/uniqs @ 7341:d3c294a55f99

<zgrep> misle/rn @/|a+b@| = { \xe2\x88\x9a(a\xc2\xb2-b\xc2\xb2) if a\xc2\xb2-b\xc2\xb2 \xe2\x89\xa5 0 ; i\xe2\x88\x9a(a\xc2\xb2-b\xc2\xb2) if a\xc2\xb2-b\xc2\xb2 < 0 }
author HackBot
date Fri, 01 Apr 2016 04:25:49 +0000
parents 9bf80fcf858b
children
line wrap: on
line source

#!/usr/bin/python
s=set()
try:
 while True:
  l=raw_input()
  if l not in s:
   s.add(l)
   print(l)
except EOFError:
 pass