D. Square Permutation

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