SCU - 4488 king's trouble II 【dp/单调栈】

NoSuchKey