Rosetta Problems
← atcoder に戻る
YY Square
https://atcoder.jp/contests/arc157/tasks/arc157_c