title | date | draft | tags | categories | |||
---|---|---|---|---|---|---|---|
算法4 Java解答 1.2.02 |
2019-02-22 07:35:21 +0800 |
false |
|
|
1.2.2 Write an Interval1D client that takes an int value N as command-line argument, reads N intervals (each defined by a pair of double values) from standard input, and prints all pairs that intersect.
2
1 2
1.1 100
[1.0, 2.0] [1.1, 100.0]