Shifting Tournament

Problem Name:
Shifting Tournament
Site:CodeForces
Links:
Tags: