sort by first occurrence by clock

for(a=[];r=readline();)a[r]=a[r]?a[r]+"\n"+r:r;for(x in a)print(a[x])

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

download

return to the top page