(杭电 1097)A hard puzzle

NoSuchKey