There is something unclear to me about problem 900B Position in Fraction in the first test case , the input given is 2 3 7 and the output given is -1 the output doesn't make since, as for dividing 2/3, the result is 0.666667, am I missing something ?
We are not supposed to round off the fraction mate :)