有两个集合
每个集合里有很多线段(很多:≥2×104\ge 2\times 10^4≥2×104
但是集合间线段的交点非常少
问如何求出集合间线段的所有交点
时间复杂度要求:O(nlogn)\mathrm O(n\log n)O(nlogn)