Sunny and Ming playing with strings
Source: 2022 IMOC C6
September 6, 2022
combinatoricsIMOC
Problem Statement
Let be an integer. Sunny and Ming play a game with strings. A string is a sequence that every element of it is an integer between and , inclusive. At first, Sunny chooses two positive integers and write down strings, each having length . Then Ming mark at most strings. Then Sunny chooses an unmarked string and calculate the biggest integer such that there exists another string satisfying its first element is the same as the first element of . Then Sunny burn down all strings which first element if different from the first element of , leaving only the ones which have the same first element of . Finally, Ming chooses an integer between and , inclusive, and remove all strings which th element is . Sunny's score would be the number of strings left. Find the maximum score that Sunny can guarantee to get.Proposed by USJL