网上看到第二题比较靠谱的解释:https://blog.csdn.net/jay__bryant/article/details/81188557
4 1
牛客网
牛客网在线编程
牛客网题解
牛客企业服务