Dynamic Programming21 sections · 916 units
Open in Course

IOI 2016 Aliens - Problem Statement

The namesake

A satellite photographs nn points on an m×mm \times m grid using square photos taken along the diagonal. Use at most kk photos to cover all points, reducing total cells photographed (overlapping cells count multiple times).

This problem gives the technique its name. It combines Aliens Trick with Convex Hull Trick for full improvement. The structure: partition points into groups, each covered by one photo. Exactly kk groups (at most kk photos). Find the lowest area with overlap penalties.