Rosetta Problems

Robots and Exits

https://atcoder.jp/contests/arc101/tasks/arc101_d