a;main(i,b,e,d){for(scanf("%d%d%d",&b,&e,&d);a%i+d%i?e*d/a:(i+=a+=a?printf("%d/%d "+i/d*3,a/i,d/i),e-b:b*d);)i--;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page