Rosetta Problems
← atcoder に戻る
RectJoin
https://atcoder.jp/contests/ahc014/tasks/ahc014_a