res = max(tail[i], head[i], res)少了加一
点赞

相关推荐

牛客网
牛客企业服务