Maximize the Intersections

Problem Name:
Maximize the Intersections
Site:CodeForces
Links:
Tags:
Problem setters: