10 can have two pairs 3,7 and 5,5. Now 3<5 but 7 is not less than 5. thus how is 3,7 the correct answer?

# Ambiguilty with the Answer for 10

**sahil-mor**#2

If solutions are (a,b) and (c,d) then correct answer here is (a,b) if a < c || a == c and b < d … here for 10 … solutions are (3,7) and (5,5) … so 3 < 5 … so one condition is fulfilled …

ok then what’s the issue with 28 … acc to the condition applied (3,25) should be right one rather than (5,23) can you please explain ??