@a=<>;++$n,$m{$_}or$m{$_}=$n for sort{$b<=>$a}@a;print"$m{$_}\x0d "for@a
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page