Блог пользователя ak1389

Автор ak1389, история, 4 года назад, По-английски

I have been provided N pairs of numbers where each pair (Ai,Bi) represents a line y=Ai*x+Bi . I want to find out the total number of triangles which can be constructed using these lines and HOW MANY TRIANGLES IS EACH LINE A PART OF.

I found the first part of the problem on a post on another platform, but am clueless as far as the second part is concerned. Any help'd be appreciated.

Thanks

  • Проголосовать: нравится
  • -12
  • Проголосовать: не нравится