Pagini recente » Diferente pentru problema/perrynator intre reviziile 67 si 68 | Diferente pentru problema/aib intre reviziile 16 si 36 | Istoria paginii utilizator/c0drinn_ | Diferente pentru problema/imunitate intre reviziile 32 si 17 | Diferente pentru problema/patrol2 intre reviziile 29 si 30
Nu exista diferente intre titluri.
Diferente intre continut:
There are $N$ manholes, indexed from $0$ to $N-1$ and $M$ tunnels connecting pairs of them. Valerio's friend Filippo is waiting for him nearby manhole $N-1$, if he can reach it, he will escape safely.
Valerio starts from manhole $0$ and, every minute, he can choose to move to a manhole adjacent to the one he is in or to stay another minute under the same manhole.
Each police patrol guard L ~i~ manholes, indexed from $0$ to L ~i-1~. Patrol $i$ is initially guarding manhole H ~i,0~, every minute it moves from manhole H ~i,j~ to manhole H ~i,j+1~, after reaching manhole <tex>H_{i,L_i-1}~</tex>, it return to manhole H ~i,0~ .
Each police patrol guard L ~i~ manholes, indexed from $0$ to L ~i-1~. Patrol $i$ is initially guarding manhole H ~i,0~, every minute it moves from manhole H ~i,j~ to manhole <tex>H_{i,j+1}</tex>, after reaching manhole <tex>H_{i,L_i-1}~</tex>, it return to manhole <tex>H_{i,0}</tex> .
h2. Date de intrare
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.