Test case "[[0,0],[94911151,94911150],[94911152,94911151]]" failed


  • 1

    Should we consider all 3 points on the same line since their differences are less than "0.00001"? I see most of the solutions provided are failing for this case.

    Input:
    [[0,0],[94911151,94911150],[94911152,94911151]]
    Output:
    3
    Expected:
    2


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.