华为笔试9.9第三题https://www.nowcoder.com/discuss/1063945