Rosetta Problems

座席 (Seats)

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