Intersection Problem

Revision en2, by nemesis, 2015-11-16 20:17:18
  • We have got two line.And we know the line's start and end point cordinate. And if they intersect we will write "Yes" or if they dont intersect write "No" .

  • Forexample line1 start (-2,2) and end (2,2) line2 start (-3,-2) and end (2,3)

  • The lines are intersect. We will write "Yes".
  • Input : -2 2 2 2 -3 -2 2 3
  • Output : "Yes"

  • I need this problem's solution . Thanks.
Tags geometry, math, question

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English nemesis 2015-11-16 20:37:03 40
en2 English nemesis 2015-11-16 20:17:18 15
en1 English nemesis 2015-11-16 20:13:51 399 Initial revision (published)