Rosetta Problems

Majority Voting

https://judge.yosupo.jp/problem/majority_voting