Rosetta Problems

電気回路の結線 (Circuit)

https://atcoder.jp/contests/joisc2007/tasks/joisc2007_circui