Rosetta Problems

电路板

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