Pagini recente » Diferente pentru algoritmiada-2010/runda-finala/9-10 intre reviziile 1 si 5 | Diferente pentru problema/rubarba intre reviziile 6 si 10 | Atasamentele paginii Profil studenti_fmi | Diferente pentru utilizator/iulyanutz intre reviziile 1 si 2 | Diferente pentru problema/marathon intre reviziile 5 si 9
Nu exista diferente intre titluri.
Diferente intre continut:
After weeks of training, William finally found out how to win a marathon: by cheating! He teamed up with a skillful driver, his friend Alessandro, and is planning on driving instead of running.
The marathon takes place in the beautiful city of Pordenone, which is formed by $N$ intersections and $M$ bidirectional roads. Each road is exactly $w_i$ meters long.
The marathon takes place in the beautiful city of Pordenone, which is formed by $N$ intersections and $M$ bidirectional roads. Each road is exactly $w[i]$ meters long.
The marathon starts at intersection $0$ and ends at intersection $N-1$. Marathoners must go through $K$ checkpoints S[0], S[1] ... S[K-1], however, they can run through any route between two consecutive checkpoints.
The marathon starts at intersection $0$ and ends at intersection $N-1$. Marathoners must go through $K$ checkpoints given in the array $S$, however, they can run through any route between two consecutive checkpoints.
William's plan is the following:
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.