Problem 2403 · Medium

Minimum Time to Kill All Monsters

Bitmask DP over killed sets: killing the next monster takes ceil(power / growth rate) days, and the growth rate equals the kills so far plus one.

Open the interactive visualisation