alphabet ranges by 0mg

for(;L=readline(n=i=s="");print(s))for(;c=L[i++];)s+=n+(n=~c.localeCompare(L[i]))?c:/-$/(s)?"":"-"

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

download

return to the top page