第7行更新为for j in range(i+len(res), len(s)+1): 可少一些循环
4

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务