Choosing Capital for Treeland

Problem Name:
Choosing Capital for Treeland
Site:CodeForces
Links:
Tags:
Problem setters: