Hitomi's Note

瞳の笔记

Codeforces Global Round 15 [CF - 1552]

发布于|# ACM# CodeForces

A - Subsequence Permutation

A string ss of length nn, consisting of lowercase letters of the English alphabet, is given.

You must choose some number kk between 00 and nn. Then, you select kk characters of ss and permute them however you want. In this process, the positions of the other $n