Ranking __REVENGE__ by murky-satyr

using System.Console;mutable f=x=>int.Parse($[i|i in x.Split(' ')].Last),k=0,t,x;$[x|x in In.ReadToEnd().Trim().Split('\n')].Sort((x,y)=>f(y)-f(x)).IterI(1,(i,v)=>{t=f(v);x=if(k==t)x else i;WriteLine($"$x $v");k=t})

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

download

return to the top page