Frage

The points are in a plane,marked with two numbers indicating coordinates.give out a connect sequence.

War es hilfreich?

Lösung

Take the convex hull. If it is a quadrilateral, you are done. If it is a triangle, you can break any of its edges apart to include the inner point.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top