上期题目:https://www.nowcoder.com/discuss/362222