Skip to content

Commit 746dd98

Browse files
authored
Update README.md
1 parent 71ec7c2 commit 746dd98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Sweep Line Algorithm
22
Was created as homework for Data Structures and Algorythms course at Innopolis University.
33

4+
## Description
45
Implement Sweep line algorithm using the sorting algorithm and self-balanced binary search tree you implemented in other parts of this homework. Write a program that given a collection of line segments detects if any two intersect.
56

67
**Input format.** First line of the input contains a number *N* (*0* < *N* < *10^6*). Each of the next *N* lines contains a description of a segment *PQ*, consisting of 4 coordinates separated by spaces: *xP yP xQ yQ*. Coordinates are all integers (*−2^21**x*, *y**2^21*).

0 commit comments

Comments
 (0)