uniq words by 51b

import std.cstream;void main(){int[char[]]t;for(char[]s;din.readf(&s);)t[s.dup]++||dout.writeLine(s);}

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

download

return to the top page