Code Jam 2019 Round 1C
Code Jam 2019 Round 1C Originally published in Chinese on 2019-05-07; this English edition preserves the original scope and technical context. Robot Programming Strategy (10pts, 18pts) Knowing the order of everyone’s Rock, Paper, Scissors moves, you can compete with everyone at the same time in each round to find a winning strategy. Solution: Eliminiating Each round traverses the moves of everyone in the current round. If there are three situations (R, P, S) at the same time, there is no winning strategy, and IMPOSSIBLE is directly output; otherwise, the winning or tied strategy is returned. ...