Divide section by not

main(a,b,c,p,q){for(scanf("%d%d%d",&a,&b,&c),q=p=a*c;p%q+c%q?--q:b*c/(printf("%d/%d "+q/c*3,p/q,c/q),q=p+=b-a););}

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

download

return to the top page