Tulip Bouquets (tulips)

52 teams scored 1179 points on this task, for a maximum score of 62, an average score of 23 and a median score of 12.

Highlights

  1. Banfi, Vimercate is the institute with the most points (98).
  2. Lombardia is the region with the most points (320).

Statement

Anna really likes tulips. She has N tulips in her garden, numbered from 0 to N-1. The beautiness of tulip i is T_i. She wants to create K (non-empty) bouquets from the tulips. To do that, she starts to walk from the first tulip towards the last. At each flower, she can either (1) insert it into the current bouquet, or (2) finish the current bouquet and start a new one. The current tulip is added to the new bouquet. Note that, after finishing a bouquet she won't be able to insert more tulips into it! The beautiness of a bouquet is the minimum of the beautinesses of the tulips in it. She wants to maximize the sum of the beautinesses of the K bouquets by partitioning the tulips optimally. Your task is to calculate this maximum value!