佬你好: 这个d的代码应该能hack, 6 6 2 2 2 1 1 感觉最后给代码的res加个判断len(res)是否为n更好点
1

相关推荐

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