Sakurako, Kosuke, and the Permutation

Problem Name:
Sakurako, Kosuke, and the Permutation
Site:CodeForces
Links:
Tags: