Ad
  • Custom User Avatar

    You should provide the input too, the error message is your function's output should equal expected value

    If the tests are the same in javascript, the input for that test is [[69, 130], [87, 1310], [3, 4]] and it is ok.

  • Custom User Avatar

    There are 48 items from degrees 314.58949479 to 359.76348626, which is what the test case was expecting, but 359.76348626 - 314.58949479 = 45.17399147

    If you saw a half of point, this point is also visible.
    So, as you said above, if we count points from 314.58949479 to 359.58949479, there are 47 whole points and a half.

  • Custom User Avatar

    u r right.