Good evening!
I have been given the task: 2 coordinates of one segment are entered, then another, YES should be output if they intersect, and NO if not. Example:
input:
0 0 1 1 2 0 1 1
conclusion:
YES
Here is my code that is not working on the test specified there , tell me what the problem is?