Ranking __REVENGE__ by ksk

x=y=0
puts$<.sort_by{|_|[-_[R=/ \d+/].hex,$.]}.map{|_|x+=1
[y=$&==_[R]?y:x,_]*" "}

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

download

return top