Hello Codeforces
Can u plzz tell me an effective way to convert any decimal floating point number (either double) to an p/q (rational form) where gcd(p,q) = 1 ??
Rational Conversion
Can u plzz tell me an effective way to convert any decimal floating point number (either double) to an p/q (rational form) where gcd(p,q) = 1 ??