Decimal Point Fixed by nu

x;main(n,s,d){while(x||~scanf("%s%n%d ",s,&n,&d))x*=atoi(++x+s)||!printf(n>0?"%.*s.%.*s\n"+(x<=n)*5:"%6$#.*f%.*5$s\n",abs(n),s,x-n,s+n,x,n-=d);}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page