Reduce fractions FIXED by teebee

g;main(a,b){for(;~scanf("%d/%d\n",&a,&b);a/=g,b/=g,vprintf())for(g=a;a%g+b%g;g--);}

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

download

return to the top page