Move To Front Encode by ush

i;char a[]="X0123456789";main(b){while(read(b=0,a,1))for(i=11;i;a[i-!b]=a[--i])a[i]-*a?:putchar(b=47+i);}

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

download

return to the top page