Codeforces Round #591 D. Sequence Sorting (思维)

NoSuchKey