Character distance by pooq

(a:=File standardInput readLine)foreach(i,v,d:=a reverseFindSeq(e:=v asCharacter);if(d>i,writeln(e,": ",d-i)))

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

download

return to the top page