Rosetta Problems

Optimizing Work Groups

https://atcoder.jp/contests/awc0136/tasks/awc0136_d