Rosetta Problems

Team Formation

https://atcoder.jp/contests/awc0012/tasks/awc0012_c