Päevaülesanne

Juhuslik

Harjutuskomplekt

Balti Tee 2018 · Ülesanne 8

Kombinatoorika

A graph has NN vertices. An invisible hare sits in one of the vertices. A group of hunters tries to kill the hare. In each move all of them shoot simultaneously: each hunter shoots at a single vertex, they choose the target vertices cooperatively. If the hare was in one of the target vertices during a shoot, the hunt is finished. Otherwise the hare can stay in its vertex or jump to one of the neighboring vertices.

The hunters know an algorithm that allows them to kill the hare in at most NN ! moves. Prove that then there exists an algorithm that allows them to kill the hare in at most 2N2^{N} moves.

Muuda valikut

Kui oled valmis

Ülevaatematerjal muutub kättesaadavaks järgmise päevaülesannete komplektiga.

Ülevaade

Teemad

Algoritmid ja protsessid · Invariandid ja monovariandid · Graafiteooria

Lahendused

Lahendus

Let hunters apply optimal (fastest) algorithm. Let say that a vertex has a smell of a hare, if there exists an initial vertex and a sequence of moves of the hare for which the hare is still alive and now occupies this vertex. After every shoot mark the set of all the vertices that have a smell of a hare. In the beginning all the vertices of the graph have a smell of hare, and after finish of hunting this set is empty. The idea is that in optimal strategy these sets can not repeat!

Indeed, the hunting does not imply feedback, the hunters' shoots do not depend on hare's moves because the hunters try to foresee all possible moves of hare. So if a set of vertices AA appears after the kk-th shoot and once again after the mm-th shoot, then the strategy is not optimal because all shoots from kk-th to (m−1)(m-1)-th can be omitted with the same result of hunting.

Since it is possible to mark at most 2N2^N sets the hunting will finish in at most 2N−12^N - 1 shoots.

Võistluse kontekst

Balti Tee tulemused 2018

11 võistkonda

Keskmine tulemus
2,5 / 5
4 või 5 punkti
5 / 11
Eesti
5 / 5

Punktijaotus

05
10
20
31
40
55
Kõigi võistkondade punktid
VõistkondPunktid
Germany3 / 5
St. Petersburg5 / 5
Denmark5 / 5
Estonia5 / 5
Sweden5 / 5
Norway0 / 5
Lithuania5 / 5
Finland0 / 5
Latvia0 / 5
Poland0 / 5
Iceland0 / 5