Problem B: 城市建设

Time Limit: 1 Sec Memory Limit: 512 MB

HINT

data