Rosetta Problems

ソーシャルゲーム (Social Game)

https://atcoder.jp/contests/joi2019yo/tasks/joi2019_yo_a