Hongcow Builds A Nation

Problem Name:
Hongcow Builds A Nation
Site:CodeForces
Links:
Tags:
Problem setters: