HDU - 5862 Counting Intersections——线段树+扫描线

NoSuchKey