Fruits (fruits)

19 teams scored 320 points on this task, for a maximum score of 50, an average score of 16.8 and a median score of 10.

Highlights

  1. I.O. Rosselli - Rasetti, Castiglione Del Lago is the institute with the most points (130).
  2. Umbria is the region with the most points (160).

Statement

You are given N baskets. The i-th basket contains A_i apples, B_i bananas and C_i cherries. Pick at most \lfloor(N+3)/2\rfloor baskets in a way that you get at least half of each fruit. It can be proven that there is always a solution. If there are multiple solutions, you can output any of them.