Rosetta Problems

Investigation of Friend Relationships

https://atcoder.jp/contests/awc0013/tasks/awc0013_b