Restoring the Permutation(思维+multiset模拟)

NoSuchKey