Rosetta Problems

Bargain Sale Selection

https://atcoder.jp/contests/awc0003/tasks/awc0003_c