Pagini recente » joc3 | Diferente pentru algoritmiada-2018/runda-finala/seniori intre reviziile 2 si 4 | Diferente pentru utilizator/felixi intre reviziile 1 si 17 | Diferente pentru problema/mex2d intre reviziile 4 si 5 | Diferente pentru problema/marathon intre reviziile 7 si 9
Nu exista diferente intre titluri.
Diferente intre continut:
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 w[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.