Ranking __REVENGE__ by recursive

d={}
a=0
r=lambda s:-int(s.split()[-1])
for s in sorted(open('/dev/fd/0'),key=r):a+=1;print d.setdefault(r(s),a),s.strip()

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

download

return to the top page