Rosetta Problems

Minimum Number of Teams for Fundraising

https://atcoder.jp/contests/awc0145/tasks/awc0145_b