Rosetta Problems
← atcoder に戻る
Typical Permutation Descriptor
https://atcoder.jp/contests/arc186/tasks/arc186_b