Rosetta Problems

Fair Shift Assignment

https://atcoder.jp/contests/awc0124/tasks/awc0124_c