Rosetta Problems

Bridge Elimination

https://atcoder.jp/contests/ttpc2023/tasks/ttpc2023_p