Rosetta Problems
← atcoder に戻る
An Invisible Hand
https://atcoder.jp/contests/abc047/tasks/arc063_b