Rosetta Problems
← atcoder に戻る
Ascendant Descendant
https://atcoder.jp/contests/arc183/tasks/arc183_e