Codeforces1234F. Yet Another Substring Reverse(状压dp)

NoSuchKey