Long Division FIXED by rotary-o(tails)

i=4;q;main(a,l){for(printf("%*d\n%.*s\n9 | %d",l,a/9,l=log10(a)+5,"  ___________",a=atoi(gets(&q)));l/printf("\n%*c",++i,q);printf("0%*c-%3d%2$*c__",2-i,10,q%8*9,-i));}

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