Rosetta Problems
← atcoder に戻る
Beautiful Rectangle
https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_bs