Determine how many points of intersection there are between a circle defined by the center coordinates , and radius , and a segment with endpoints (X_1, Y_1) and (X_2, Y_2).
Seven integers: , , , X_1, Y_1, X_2, Y_2, each with absolute value not exceeding .
The number of intersection points.
Esempio 1