Space Station Assignment
Time Limit: 30s
Memory Limit: 256MB
Author: w-justin

Given ๐‘ space stations in 3D space, your task is to assign ๐พ of them as bases. The objective is to minimize the sum of the distances from each space station to its nearest base.