Rosetta Problems

曼哈顿

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