需要先判断是否合法,如果刚开始就不够,直接返回0 if maxDel2 < 0 || maxDel5 < 0 { return 0 }
点赞 评论

相关推荐

牛客网
牛客企业服务