Rosetta Problems

曼哈顿行走

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