D. Good Permutation

Problem Name:
D. Good Permutation
Site:AtCoder
Links:
Tags: