Daily

Random

Practice set

Baltic Way 2018 · Problem 8

Combinatorics

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.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Algorithms and processes · Invariants and monovariants · Graph theory

Solutions

Solution

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.

Contest context

Results from Baltic Way 2018

11 teams

Mean score
2.5 / 5
Scores of 4 or 5
5 / 11
Estonia
5 / 5

Score distribution

05
10
20
31
40
55
All team scores
TeamScore
Germany3 / 5
St. Petersburg5 / 5
Denmark5 / 5
Estonia5 / 5
Sweden5 / 5
Norway0 / 5
Lithuania5 / 5
Finland0 / 5
Latvia0 / 5
Poland0 / 5
Iceland0 / 5