ZOJ 3195 Design the city 

haha