Character distance by idealmachine

for(s=readline(i=0);c=s[i];d&&print(c+':',d))d=s.lastIndexOf(c)-i++

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

download

return to the top page