Pagini recente » Diferente pentru utilizator/informatician28 intre reviziile 11 si 12 | Diferente pentru utilizator/gerd13 intre reviziile 7 si 8 | Diferente pentru problema/monopoly intre reviziile 27 si 28 | Monitorul de evaluare | Diferente pentru problema/monopoly intre reviziile 29 si 30
Nu exista diferente intre titluri.
Diferente intre continut:
0 5 4 12 6 3 15 7 2 20 5| 47|
|12 1
-10 -20 -4 -6 -15 -20 -20 -20 -20 -20 -20 -20| -6|
|2 2
999999999 1000000000| 5999999998|
h3. Explicaţie
...
In the {**first sample case**} the answer is $47$. A possible sequence of rolls is the following:
* Carlo rolls $3$ and $3$ and moves to cell $6$, with tax value $15$. Since the $2$ dice values are equal he must throw again.
* Carlo rolls $4$ and $4$ and moves to cell $3$, with tax value $12$. Since the $2$ dice values are equal he must throw again.
* Carlo rolls $3$ and $3$ and moves to cell $9$, with tax value $20$. He already moved $3$ times, so his turn ends, even if the $2$ dice values are equal.
== include(page="template/taskfooter" task_id="monopoly") ==
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.