Ad
  • Default User Avatar

    I think the instruction is missing a rule for method beging 0 and the distance to the nearest number is equal in both directions.
    It seems to be, that in that case, the smaller of both numbers should be chosen.