Rosetta Problems
← atcoder に戻る
Can you buy them all?
https://atcoder.jp/contests/abc209/tasks/abc209_b