File standardInput readLines map(i,v,list(-v split last asNumber,i,v))sort map(i,$,writeln(Map atIfAbsentPut(""..$first,i+1)," ",$pop))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page