Harmonic permutations

Problem Name:
Harmonic permutations
Site:CodeForces
Links:
Tags: