Problem 544 · Medium

Output Contest Matches

Output the contest matches in elimination tournament bracket format.

Open the interactive visualisation