Project Euler #192: Best Approximations

  • [deleted]
    + 0 comments

    i dint understand the question. in the sample input where n was 3, why did denominator for root(2) is calculated. Should we find the denominators for all the squares of numbers below n.