Building a Bianzhong

Problem Name:
Building a Bianzhong
Site:CodeForces
Links:
Tags:
Problem setters: