Rosetta Problems
← atcoder に戻る
The Fate of the Vote
https://atcoder.jp/contests/awc0130/tasks/awc0130_a