Rosetta Problems

Tak and Hotels (ABC Edit)

https://atcoder.jp/contests/abc044/tasks/abc044_a