Rosetta Problems

城市封锁

https://www.acwing.com/problem/content/3972