| 2023 Abakoda Long Contest |
|---|
| Finished |
It is the end of the year 2023. Alice still shouts AMOGUS at the top of her lungs. She believes it to be the funniest joke ever created in all of human history. She has even purchased an inflatable Amogus costume, which she will treasure for years to come. Truly, Amogus is eternal.
The Earth's greatest scientists have designed a new mod of the game, which introduces an interesting twist to the mechanics. Alice has been hired as one of their playtesters, and her job is to determine whether or not this mod is actually fun.
The judge first outputs a single integer $$$k$$$, the number of emergency meetings. For this problem, $$$k=18$$$ always.
Next, you should output a single integer $$$n$$$, the number of players you wish to invite to your lobby; this $$$n$$$ should be at least $$$2$$$ and at most $$$5 \times 10^4$$$. In general, the higher this $$$n$$$, the better your score will be. The players are indexed from $$$1$$$ to $$$n$$$.
The following interaction then plays out up to $$$k$$$ times:
In this problem, the judge is adaptive! Basically, the judge is designed so that it is impossible for your program to "get lucky" and succeed by sheer coincidence. The judge will always trigger the "unluckiest" worst case scenario for your algorithm, and will only Accept your solution if your algorithm works 100% of the time, no matter what. You may refer to the Notes section for a bit more detail.
If your solution is incorrect, you get $$$0$$$ points. If correct, you are awarded points based on the size of $$$n$$$ outputted in the successful attempt. $$$$$$\begin{align*}
&\begin{array}{|c|c|l|} \hline \text{Subtask} & \text{Points} & \text{Constraints} \\ \hline 1 & \mathbf{35} & n \geq 18 \\ \hline 2 & \mathbf{15} & n \geq 30 \\ \hline 3 & \mathbf{10} & n \geq 80 \\ \hline 4 & \mathbf{26} & n \geq 500 \\ \hline 5 & \mathbf{6} & n \geq 700 \\ \hline 6 & \mathbf{8} & n \geq 48000 \\ \hline \end{array}\\
\end{align*}$$$$$$
Here is how the adaptive judge decides on how to act. Basically, the judge does not actually select the witness and imposter in advance. The adaptive judge will try to respond with SILENCE... whenever possible, so long as it "maintains plausible deniability", i.e. so long as there still exists any selection of witness and imposter that is consistent with all its responses so far. Informally, the judge is a cheater, but will never let itself get caught (and will give you the win if you manage to checkmate it).
Here is a sample interaction:
Here, the solution claims to be able to find the witness and imposter among a lobby with $$$4$$$ players. Note that once the game has been won, the rest of the rounds don't play out any more.
Judge Contestant
18
4
2
1 2
SILENCE...
3
1 3 4
SILENCE...
2
2 3
SILENCE...
1
4
4 REPORTS 1
| Name |
|---|


