Problem

Source: 46th International Tournament of Towns, Senior A-Level P6, Fall 2024

Tags: combinatorics



Merlin's castle has 100 rooms and 1000 corridors. Each corridor links some two rooms. Each pair of rooms is linked by one corridor at most. Merlin has given out the plan of the castle to the wise men and declared the rules of the challenge. The wise men need to scatter across the rooms in a manner they wish. Each minute Merlin will choose a corridor and one of the wise men will have to pass along it from one of the rooms at its ends to the other one. Merlin wins when in both rooms on the ends of the chosen corridor there are no wise men. Let us call a number $m$ the magic number of the castle if $m$ wise men can pre-agree before the challenge and act in such a way that Merlin never wins, $m$ being the minimal possible number. What are the possible values of the magic number of the castle? (Merlin and all the wise men always know the location of all the wise men). Timofey Vasilyev