Download
https://liuxueyang.github.io/posts/codeforces/1778b/
CodeForces 1778B The Forbidden Permutation
Share