Light Mode
Dark Mode
First assert.

This is first assert from the task: assert.equal(wildDogs([[7, 122], [8, 139], [9, 156], [10, 173], [11, 190], [-100, 1]]), 1.13) The line we search in this case is y = 17x + 3, and surely there is shorter distance (i am too lazy atm to compute the shortest one ;d ) between point (0, 0) and f.e. (-3/17, 0) which is on y = 17x + 3 line than 1.13. Am i having some mindfuck or this assert is bad?

  • task.wild-dogs
Created: Sept. 9, 2018, 8:08 p.m.
Updated: Sept. 10, 2018, 8:18 a.m.
0
4
User avatar
Jakub_Raczy_ski