A taller watchtower watches more houses, and each watched house pays, but every unit of height costs money. Pick the height that maximises profit.
A taller watchtower watches more houses, and each watched house pays, but every unit of height costs money. Pick the height that maximises profit.
Opens with the full question.