Water park (waterslide)

30 teams scored 1855 points on this task, for a maximum score of 100, an average score of 62 and a median score of 57.

Highlights

  1. I.S. Fermi MN, Mantova is the institute with the most points (115).
  2. Lombardia is the region with the most points (400).

Statement

There's a new water park in the city and Edoardo, the owner, cannot wait to open! However, he is in doubt on where to put the life guards. To access a pool you have to take a ride (that is, a path from the launch pad) through some slides into a pool. While going down, you may encounter a junction. Note that there could be junctions where many slides enter and many exit: in this case, you will choose one of the many exits uniformly at random. Obviously, there cannot be any cyclic paths since water always flows down. Edoardo knows very well that most of the accidents happen where the most people are. You are given a description of the junctions and slides connecting them. Help Edoardo find which is the ending pool where most of the people will arrive!