z-rubberz
There are N trees on a field, and there are no 3 collinear trees. You have K rubber bands that can stretch to an arbitrary length. We will refer to one of the tree as the <b>central tree</b>. The central tree does not belong to the trees on the convex hull of all the trees.
You need to place the K rubber bands around the given trees so that:
(1) Every rubber band contains a group of trees
(2) All the trees are contained in the rubber bands
(3) The rubber bands do not overlap except on the central tree
(4) The rubber bands make convex polygons that contain at least 3 trees
For the given configuration of trees, find the configuration of the K rubber bands that satisfies the conditions listed above and minimizes the area that all of them cover (View the image).
2 5
0 0
9 4
-8 8
-10 -2
4 -8Output:
92.00Submit solution
Coming laterThe grading service will be connected in a later migration step. You can inspect the task and your previous results now.