Pagini recente » Diferente pentru problema/struti intre reviziile 2 si 7 | Atasamentele paginii Profil crocodilus | Atasamentele paginii Profil sergiu97 | Diferente pentru problema/rfinv intre reviziile 2 si 5 | Diferente pentru blog/cups-and-marbles intre reviziile 3 si 4
Nu exista diferente intre titluri.
Diferente intre continut:
M marbles are placed in N cups which are arranged in a circle. One move consists in choosing a cup, taking all the marbles within that cup and placing them one by one in the following cups in clockwise order (since the cups are in a circle you might end up putting marbles in the original cup as well).
How can we tell given two placements A and B of marbles in cups, if we can reach B starting from A.
Given two placements A and B of marbles in cups, how can we tell if we can reach B starting from A.
Diferente intre securitate:
Diferente intre topic forum: