Consider a landscape composed of connected line segments:
Above the landscape,
N light bulbs are hang at the same height
T in various horizontal positions. The purpose of these light bulbs is to light up the entire landscape. A landscape point is considered lit if it can "see" a light bulb directly, that is, if the line segment which links the point with a bulb does not contain any other landscape segments point.
Task
Write a program that determines the mi-ni-mum number of light bulbs that must be switched on in order to illuminate the entire landscape.