t[];main(c,i){for(;read(0,&c,1);putchar(t[c]+c),t[c]=48-c)for(i=47;i++<57;t[i]+=t[i]+i<t[c]+c);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page