This surprises me. BecauseSo, if my hypothesisall of above is true, it means that players have no influence on the result of the game. We could even play by random and if the initial $|S|$ was odd - we will win, if it was even - we will lose. No matter what
It's hard for me to believe in that. ThatWhat will be the sense of making AI challenge on HackerRank with such a silly game, I can't believe? Players in that. But I can't find a counterexample forthe leader-board have different scores and these scores are consistent each time after recalculation (same people in the top 10), suggesting that tooplayers actually have an influence on the game result.
I really hope that the hypothesis is untrue. Maybe you can spotsee some mistake I'm making or have a counterexample?