File size: 445 Bytes
ea8c728 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # EVOLVE-BLOCK-START
import numpy as np
def run() -> np.ndarray:
"""
Places 21 non-overlapping circles inside a rectangle of perimeter 4
in order to maximize the sum of their radii.
Returns:
circles: np.array of shape (21, 3), where each row (x, y, r) stores
the (x, y) coordinates and radius r of each circle.
"""
n = 21
circles = np.zeros((n, 3))
return circles
# EVOLVE-BLOCK-END
|