n;q[1400];main(i,j){for(;j=log2(i=getchar()*getchar());)q[++n]=i<<30-j;for(;++j>n?puts(q),j=i=i<j:1;)i=(q[j]*=2)?printf("%*d",i,q[j]<0),1:i+1;}

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

download

return to the top page