Server Farm (plugs)

125 teams scored 2250 points on this task, for a maximum score of 100, an average score of 18 and a median score of 5.

Highlights

  1. Carlo Zuccante, Venezia is the institute with the most points (150).
  2. Lombardia is the region with the most points (490).

Statement

William wants to exploit his new independent house for setting up a brand-new server farm, and start earning money immediately! Since his budget is pretty limited, he started this ambitious project by collecting obsolete PCs from the recycling bin for electronic waste. He gathered this way N fully functional computers with diverse capabilities. In particular, the i-th computer has computing power of F_i nanoFLOPS and is powered via a plug of type T_i, which can be either: (1) T_i = `L10', if the plug conforms to the Type L/10amp standard; (2) T_i = `L16', if the plug conforms to the Type L/16amp standard. He also found a very long power strip consisting of M sockets, where the i-th of them can be of three different types S_i: (1) S_i = `L10', if the socket is designed for Type L/10amp plugs; (2) S_i = `L16', if the socket is designed for Type L/16amp plugs; (3) S_i = `bipasso' if the socket is designed to accommodate both (otherwise incompatible) types...