Rosetta Problems

Partitions and Inversions(★7)

https://atcoder.jp/contests/typical90/tasks/typical90_ck