Rosetta Problems

NarrowRectangles

https://atcoder.jp/contests/arc070/tasks/arc070_c