Rosetta Problems
← atcoder に戻る
Score of Permutations
https://atcoder.jp/contests/abc226/tasks/abc226_f