Rosetta Problems
← atcoder に戻る
Shojin
https://atcoder.jp/contests/abc305/tasks/abc305_h