A[];main(c,k,j){for(;read(0,&c,1);c>64?A[c]=++k:0)putchar((j=k-A[c])/10?c:j|48);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page