Problem 649 · Medium

Dota2 Senate

Two queues of senators: whoever acts first bans the next opponent and rejoins at the back.

Open the interactive visualisation