【POJ 2279】Mr. Young's Picture Permutations【DP】

NoSuchKey