Problem 1921 · Medium

Eliminate Maximum Number of Monsters

Eliminate as many monsters as possible, given each monster's arrival time, before any of them reaches the city. The visual shows monsters on a timeline sorted by arrival, with a shot removing the earliest one each minute.

Open the interactive visualisation